Base clipping class for no clipping.
public var maxX:Number = 1000000
Maximum allowed x value for primitives
public var maxY:Number = 1000000
Maximum allowed y value for primitives
public var minX:Number = -1000000
Minimum allowed x value for primitives
public var minY:Number = -1000000
Minimum allowed y value for primitives
public function asRectangleClipping():RectangleClipping
Returns a rectangle clipping object representing the bounding box of the clipping object.
Returns
public function check(pri:DrawPrimitive):Boolean
Checks a drawing primitive for clipping.
Parameters
Returns
| Boolean — The clipping result - false for clipped, true for non-clipped.
|
public function rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean
Checks a bounding rectangle for clipping.
Parameters
| minX:Number — The x value for the left side of the rectangle.
|
|
| minY:Number — The y value for the top side of the rectangle.
|
|
| maxX:Number — The x value for the right side of the rectangle.
|
|
| maxY:Number — The y value for the bottom side of the rectangle.
|
Returns
| Boolean — The clipping result - false for clipped, true for non-clipped.
|
public function screen(container:Sprite):Clipping
Returns a rectangle clipping object initilised with the edges of the flash movie as the clipping bounds.
Parameters
Returns
Click to go to the wiki page for ####WIKI####