public function getIntersection(innerX:Number, innerY:Number, outerX:Number, outerY:Number, intersectionPoint:IPointSetter):Boolean
Returns the intersection for the given line with this shape's geometry.
Parameters
| innerX:Number — The X coordinate of the first point of the line that is inside the shape.
|
| |
| innerY:Number — The Y coordinate of the first point of the line that is inside the shape.
|
| |
| outerX:Number — The X coordinate of the second point of the line that is outside the shape.
|
| |
| outerY:Number — The Y coordinate of the second point of the line that is outside the shape.
|
| |
| intersectionPoint:IPointSetter — The intersection point that is set if this method returns true.
|
Returns
| Boolean — Whether an intersection was found.
|
public function getOutline():GeneralPath
Returns the outline of the shape or null.
Returns
| GeneralPath —
The outline or null if no outline can be provided.
|
public function isInside(x:Number, y:Number):Boolean
Checks whether the given coordinate is deemed to lie within the shape's geometric bounds.
Parameters
| x:Number — The x coordinate to test.
|
| |
| y:Number — The y coordinate to test.
|
Returns
| Boolean — True if the point lies within the shape.
|