A closed shape. It has vertices and the vertices are connected by straight lines or curved lines. Shape does not extend CurvePath but it does extend Fillable which extends Drawable.Not sure if Shape and Fillable should be seperate classes.
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
trait Polygontrait Polygon3Plustrait Polygon4Plustrait Polygon5Plustrait Polygon6Plusclass DoDecligntrait HexRegclass HexRegImptrait Hexlignclass HexParrXclass HexParrYtrait Quadrilateraltrait Rectangletrait PhiRectangleclass PhiRectclass PhiRectYclass PhiRectangleImptrait Rectobject NoBoundsclass RectImpclass Sqlignclass RectangleImptrait Squareclass SquareImptrait Triangleclass TriangleImptrait TriangleIsosclass TriangleEquiclass TriangleIsosGenclass PolygonGentrait PolygonYMirrortrait ShapeCentredtrait Ellipseclass EllipseImptrait Ellipselignclass Circleclass EllipselignImpclass ShapeGentrait ShapeOrdinaledShow all
Members list
Value members
Abstract methods
Draws this geometric element to produce a GraphElem graphical element, that can be displayed or printed.
Draws this geometric element to produce a GraphElem graphical element, that can be displayed or printed.
Attributes
- Definition Classes
Returns a fill graphic of this geometric object.
ShapeCompound graphic with a FillFacet, a TextFacet and a ShapeActive child.
Returns a fill and draw graphic of this geometric object.
Returns a fill graphic of this geometric object from the Int RGBA value.
Returns a fill graphic of this geometric object from the Int RGBA value.
Attributes
- Definition Classes
Mirror, reflection 2D geometric transformation across the X axis on a Shape returns a Shape. The Return type will be narrowed in sub traits / classes.
Mirror, reflection 2D geometric transformation across the X axis on a Shape returns a Shape. 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.
2D Transformation using a ProlignMatrix on a Shape, returns a Shape. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
Reflect 2D geometric transformation across a line, line segment or ray on a Shape, returns a Shape. The Return type will be narrowed in sub traits / classes.
Rotation 2D geometric transformation on a Shape taking the rotation as a scalar measured in radians, returns a Shape. The Return type will be narrowed in sub traits / classes.
Rotation of 180 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.
Uniform scaling 2D geometric transformation on a Shape 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.
XY scaling 2D geometric transformation on a Shape returns a Shape. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.
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.
Inherited methods
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 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
- Inherited from:
- BoundedElem
The width of the BoundingRect of this object.
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
Attributes
- Inherited from:
- BoundedElem