Immutable Graphic element that defines and draws a Polygon.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait CanvShapeDrawtrait CanvElemtrait ShapeDrawtrait PolygonGraphicSimpletrait ShapeGraphicSimpletrait GraphicSvgElemtrait GraphicSimpletrait PolygonGraphictrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Members list
Value members
Concrete methods
Mirror, reflection transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Mirror, reflection transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Mirror, reflection transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Mirror, reflection transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Mirror, reflection transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Mirror, reflection transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Mirror, reflection transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Mirror, reflection transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
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
- Definition Classes
Mirror, rotate(radians) transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Mirror, rotate(radians) transformation across the X axis upon a PolygonDraw returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Rotation positive or anti clockwise 180 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 180 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Uniform scaling transformation a PolygonDraw, returns a PolygonDraw.
Uniform scaling transformation a PolygonDraw, returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Independent X and Y dimension scaling upon a PolygonDraw returns a PolygonDraw.
Independent X and Y dimension scaling upon a PolygonDraw returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Shear along the X axis upon a PolygonDraw returns a PolygonDraw.
Shear along the X axis upon a PolygonDraw returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> PolygonGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Shear along the Y axis upon a PolygonDraw returns a PolygonDraw.
Shear along the Y axis upon a PolygonDraw returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> PolygonGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Translate geometric transformation on a PolygonDraw, returns a PolygonDraw.
Translate geometric transformation on a PolygonDraw, returns a PolygonDraw.
Attributes
- Definition Classes
-
CanvShapeDraw -> CanvElem -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- ShapeGraphicSimple
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
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
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
Checks for 2 or more vertices
Checks for 3 or more vertices
The line colour of this draw graphic.
The line width of this draw graphic
Attributes
- Definition Classes
- Inherited from:
- ShapeDraw
Attributes
- Definition Classes
- Inherited from:
- PolygonGraphic
Attributes
- Inherited from:
- ShapeGraphic
Attributes
- Inherited from:
- ShapeDraw
Attributes
- Inherited from:
- ShapeDraw
Attributes
- Definition Classes
- 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:
- 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