The new version of ShapeGen. Will prioritise easy and simplicity of functionality over efficiency. A generalised implementation of a Shape. A closed sequence of curve segments.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in sub classes and traits.
Rotation 2D geometric transformation on a GeomElem. The return type will be narrowed in sub classes and traits.
Inherited methods
Attributes
- Inherited from:
- BoundedElem
Attributes
- Inherited from:
- BoundedElem
The centre of the bounding rectangle. consider also using cenDefault.
The centre of the bounding rectangle. consider also using cenDefault.
Attributes
- Inherited from:
- BoundedElem
The height of the BoundingRect of this object.
The height of the BoundingRect of this object.
Attributes
- Definition Classes
- Inherited from:
- ShapeSegs
The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape
The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape
Attributes
- Definition Classes
- Inherited from:
- ShapeSegs
The width of the BoundingRect of this object.
The width of the BoundingRect of this object.
Attributes
- Definition Classes
- Inherited from:
- ShapeSegs
Attributes
- Inherited from:
- BoundedElem
If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.
If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.
Attributes
- Inherited from:
- BoundedElem
ShapeCompound graphic with a FillFacet, a TextFacet and a ShapeActive child.
ShapeCompound graphic with a FillFacet, a TextFacet and a ShapeActive child.
Attributes
- Definition Classes
- Inherited from:
- ShapeSegs
Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.
Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.
2D Transformation using a ProlignMatrix on a Shape, returns a Shape. The Return type will be narrowed in sub traits / classes.
Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.
Uniform scaling 2D geometric transformation on a ShapeGen returns a Shape. The Return type will be narrowed in sub traits / classes. Use the xyScale method for differential scaling on the X and Y axes.
Uniform scaling 2D geometric transformation on a ShapeGen returns a Shape. The Return type will be narrowed in sub traits / classes. Use the xyScale method for differential scaling on the X and Y axes.
Attributes
- Definition Classes
- Inherited from:
- ShapeSegs
XY scaling 2D geometric transformation on a ShapeGen returns a Shape. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.
The ShapeSegs that make up this Shape.
Shear 2D geometric transformation along the X Axis on a Shape, returns a Shape. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the Y Axis on a Shape, returns a Shape. The return type will be narrowed in sub classes and traits.
Translate 2D geometric transformation on a Shape returns a Shape. The Return type will be narrowed in sub traits / classes.
Attributes
- Inherited from:
- BoundedElem
Concrete fields
The backing array of ShapeSegs. End users should rarely need to access this field.
The backing array of ShapeSegs. End users should rarely need to access this field.