PolygonFillImp
Immutable Graphic element that defines and fills a Polygon. This element can be trnsformed through all the Affine transformations and a PolygonFill will be returned.
Value parameters
- colour
-
The colour of this graphic.
- shape
-
The Polygon shape.
Attributes
- Constructor
-
create a new PolygonFill with the underlying polygon and a colour.
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PolygonFilltrait CanvShapeFilltrait CanvElemtrait ShapeFilltrait PolygonGraphicSimpletrait ShapeGraphicSimpletrait GraphicSvgElemtrait GraphicSimpletrait PolygonGraphictrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
Attributes
- Inherited from:
- PolygonFill
Value members
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
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
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
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
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
Attributes
- Definition Classes
- Inherited from:
- ShapeFill
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
2D geometric transformation using a ProlignMatrix on a CanvShapeFill, returns a CanvShapeFill. The Return type will be narrowed in sub traits / classes.
2D geometric transformation using a ProlignMatrix on a CanvShapeFill, returns a CanvShapeFill. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
Reflect 2D geometric transformation across a line, line segment or ray on a CanvShapeFill, returns a CanvShapeFill. The Return type will be narrowed in sub traits / classes.
Reflect 2D geometric transformation across a line, line segment or ray on a CanvShapeFill, returns a CanvShapeFill. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
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
- Inherited from:
- PolygonFill
Rotation 2D geometric transformation on a CanvShapeFill taking the rotation as a scalar measured in radians, returns a CanvShapeFill. The Return type will be narrowed in sub traits / classes.
Rotation 2D geometric transformation on a CanvShapeFill taking the rotation as a scalar measured in radians, returns a CanvShapeFill. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
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
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
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
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
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
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
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
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
XY scaling 2D geometric transformation on a CanvShapeFill, 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 CanvShapeFill, 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
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
Attributes
- Inherited from:
- ShapeGraphic
Shear 2D geometric transformation along the X Axis on a CanvShapeFill, returns a CanvShapeFill. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the X Axis on a CanvShapeFill, returns a CanvShapeFill. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> PolygonGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
Shear 2D geometric transformation along the Y Axis on a CanvShapeFill, returns a CanvShapeFill. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the Y Axis on a CanvShapeFill, returns a CanvShapeFill. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> PolygonGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
Translate geometric transformation.
Translate geometric transformation.
Attributes
- Definition Classes
-
PolygonFill -> CanvShapeFill -> CanvElem -> ShapeFill -> PolygonGraphicSimple -> ShapeGraphicSimple -> GraphicSimple -> PolygonGraphic -> ShapeGraphic -> GraphicBounded -> GraphicElem -> GeomElem
- Inherited from:
- PolygonFill
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
- Definition Classes
- Inherited from:
- PolygonFill
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