Package | org.papervision3d.core.clipping.draw |
Class | public class Clipping |
Subclasses | RectangleClipping |
Property | Defined by | ||
---|---|---|---|
maxX : Number = 1000000
Maximum allowed x value for primitives
| Clipping | ||
maxY : Number = 1000000
Maximum allowed y value for primitives
| Clipping | ||
minX : Number = -1000000
Minimum allowed x value for primitives
| Clipping | ||
minY : Number = -1000000
Minimum allowed y value for primitives
| Clipping |
Method | Defined by | ||
---|---|---|---|
Returns a rectangle clipping object representing the bounding box of the clipping object.
| Clipping | ||
check(pri:RenderableListItem):Boolean
Checks a drawing primitive for clipping.
| Clipping | ||
rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean
Checks a bounding rectangle for clipping.
| Clipping | ||
Returns a rectangle clipping object initilised with the edges of the flash movie as the clipping bounds.
| Clipping |
maxX | property |
public var maxX:Number = 1000000
Maximum allowed x value for primitives
maxY | property |
public var maxY:Number = 1000000
Maximum allowed y value for primitives
minX | property |
public var minX:Number = -1000000
Minimum allowed x value for primitives
minY | property |
public var minY:Number = -1000000
Minimum allowed y value for primitives
asRectangleClipping | () | method |
public function asRectangleClipping():RectangleClipping
Returns a rectangle clipping object representing the bounding box of the clipping object.
ReturnsRectangleClipping |
check | () | method |
public function check(pri:RenderableListItem):Boolean
Checks a drawing primitive for clipping.
Parameterspri:RenderableListItem — The drawing primitive being checked.
|
Boolean — The clipping result - false for clipped, true for non-clipped.
|
rect | () | method |
public function rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean
Checks a bounding rectangle for clipping.
ParametersminX: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.
|
Boolean — The clipping result - false for clipped, true for non-clipped.
|
screen | () | method |
public function screen(container:Sprite):Clipping
Returns a rectangle clipping object initilised with the edges of the flash movie as the clipping bounds.
Parameterscontainer:Sprite |
Clipping |