I

IShapeGeometry

Interface that describes the geometry of a shape which has an interior and an exterior.
Inheritance Hierarchy

Members

No filters for this type

Methods

Returns the intersection for the given line with this shape's geometry.
abstract

Parameters

inner: Point
The first point of the line that is inside the shape.
outer: Point
The second point of the line that is outside the shape.

Return Value

Point
The coordinates of the intersection point, if an intersection was found.
Returns the outline of the shape or null.
If null is returned, callers may assume the canonical outline as result. For nodes, this is the node's layout.
abstract

Return Value

GeneralPath
The outline or null if no outline can be provided.
Checks whether the given coordinate is deemed to lie within the shape's geometric bounds.
abstract

Parameters

location: Point
The point to test.

Return Value

boolean
true if the point lies within the shape.

Constants

A void implementation of the IShapeGeometry interface that does nothing and behaves like an empty geometry.

Static Methods

static

Parameters

Return Value

IShapeGeometry