Properties:
| Name |
Type |
Description |
type |
SHAPE_PRIMITIVE
|
The type of the object, mainly used to avoid instanceof checks
|
Members
The type of the object, mainly used to avoid instanceof checks
Methods
Creates a clone of this ShapePrimitive instance.
Returns:
Checks whether the x and y coordinates passed to this function are contained within this ShapePrimitive.
| Name |
Type |
Description |
x |
number
|
|
y |
number
|
|
Returns:
Copies the properties from another ShapePrimitive to this ShapePrimitive.
copyTo
(destination) void
Copies the properties from this ShapePrimitive to another ShapePrimitive.
Returns the framing rectangle of the ShapePrimitive as a Rectangle object.
| Name |
Type |
Attributes |
Description |
out |
Rectangle
|
<optional>
|
|
Returns: