set_clip


Description:

[ Version ( since = "0.6" ) ]
public void set_clip (float xoff, float yoff, float width, float height)

Sets clip area for this.

The clip area is always computed from the upper left corner of the actor, even if the anchor point is set otherwise.

Parameters:

this

A Actor

xoff

X offset of the clip rectangle

yoff

Y offset of the clip rectangle

width

Width of the clip rectangle

height

Height of the clip rectangle