RectGraphicSimple
A simple non-compound graphic based on a [[Rect], a rectangle aligned to the X and Y axes.
Attributes
- Graph
-
- Supertypes
-
trait RectangleGraphicSimpletrait PolygonGraphicSimpletrait ShapeGraphicSimpletrait GraphicSvgElemtrait GraphicSimpletrait RectGraphictrait ShapeGraphicOrdinaledtrait OrdinaledElemtrait OrdinalEdgePointstrait RectangleGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait PolygonGraphictrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- ShapeGraphicSimple
Attributes
- Inherited from:
- BoundedElem
Attributes
- Inherited from:
- OrdinalEdgePoints
Attributes
- Definition Classes
- Inherited from:
- ShapeGraphicOrdinaled
Attributes
- Definition Classes
- Inherited from:
- ShapeGraphicOrdinaled
The centre of the bounding rectangle. consider also using cenDefault.
The centre of the bounding rectangle. consider also using cenDefault.
Attributes
- Inherited from:
- BoundedElem
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:
- ShapeGraphic
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:
- ShapeGraphic
The width of the BoundingRect of this object.
The width of the BoundingRect of this object.
Attributes
- Definition Classes
- Inherited from:
- ShapeGraphic
Attributes
- Inherited from:
- BoundedElem
Attributes
- Inherited from:
- OrdinalEdgePoints
The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.
The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.
Attributes
- Definition Classes
- Inherited from:
- ShapeGraphicCentred
The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.
The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.
Attributes
- Definition Classes
- Inherited from:
- CentredElem
The X component of the centre.
The Y component of the centre.
Checks for 2 or more vertices
Checks for 3 or more vertices
Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.
Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.
Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Attributes
- Inherited from:
- ShapeGraphicSimple
2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Reflect 2D geometric transformation across a line, line segment or ray on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
Reflect 2D geometric transformation across a line, line segment or ray on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.
Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.
Attributes
- Inherited from:
- GraphicElem
Rotation 2D geometric transformation on a GraphicElem taking the rotation as a scalar measured in radians, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
Rotation 2D geometric transformation on a GraphicElem taking the rotation as a scalar measured in radians, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Rotate 180 degrees 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.
Rotate 180 degrees 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Rotate 270 degrees anti clockwise or rotate 90 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.
Rotate 270 degrees anti clockwise or rotate 90 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Rotate 90 degrees anti clockwise or rotate 270 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.
Rotate 90 degrees anti clockwise or rotate 270 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Uniform scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling.
Uniform scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.
XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Attributes
- Definition Classes
- Inherited from:
- RectGraphic
Attributes
- Inherited from:
- ShapeGraphic
Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
- Inherited from:
- PolygonGraphicSimple
Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
- Inherited from:
- PolygonGraphicSimple
Translate geometric transformation.
Translate geometric transformation.
Attributes
- Definition Classes
-
PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonGraphicSimple
Attributes
- Definition Classes
- Inherited from:
- GraphicSvgElem
Attributes
- Inherited from:
- ShapeGraphicSimple
Attributes
- Inherited from:
- ShapeGraphic
Attributes
- Inherited from:
- ShapeGraphicSimple
Attributes
- Inherited from:
- BoundedElem
Attributes
- Inherited from:
- OrdinalEdgePoints
Attributes
- Definition Classes
- Inherited from:
- ShapeGraphicOrdinaled
Attributes
- Definition Classes
- Inherited from:
- ShapeGraphicOrdinaled
Top right offset from centre.
Attributes
- Inherited from:
- PolygonGraphic
Attributes
- Inherited from:
- PolygonGraphic
Attributes
- Inherited from:
- PolygonGraphic
Attributes
- Inherited from:
- PolygonGraphic
The number of vertices.
Attributes
- Inherited from:
- PolygonGraphic
Attributes
- Inherited from:
- PolygonGraphic
Attributes
- Inherited from:
- PolygonGraphic
Attributes
- Inherited from:
- PolygonGraphic