A canvas element that can be rendered by the pgui.CanvasPlatform API. This trait is not sealed, but should not be extended outside of the library.
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
class BezierDrawtrait CanvShapeDrawtrait PolygonDrawclass PolygonDrawImptrait RectangleDrawtrait RectDrawclass RectDrawImpclass RectangleDrawImptrait CanvShapeFilltrait PolygonFillclass PolygonFillImptrait RectangleFilltrait RectFillclass RectFillImpclass RectangleFillImpclass TriangleFillclass CircleFillclass DashedLineDrawtrait EArcDrawclass CArcDrawclass EArcDrawImptrait EllipseDrawclass CircleDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImpclass LinePathDrawclass LineSegDrawclass LinesDrawclass ShapeGenDrawOldclass ShapeGenFillOldtrait TextGraphicclass TextFixedclass TextlignShow all
Members list
Value members
Abstract methods
Mirror, reflection 2D geometric transformation across the X axis on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Mirror, reflection 2D geometric transformation across the X axis on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
Mirror, reflection 2D geometric transformation across the X axis on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Mirror, reflection 2D geometric transformation across the X axis on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
2D geometric transformation using a ProlignMatrix on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
2D geometric transformation using a ProlignMatrix on a CanvElem, returns a CanvElem. 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 CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Reflect 2D geometric transformation across a line, line segment or ray on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
Rotation 2D geometric transformation on a CanvElem taking the rotation as a scalar measured in radians, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Rotation 2D geometric transformation on a CanvElem taking the rotation as a scalar measured in radians, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
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
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
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
Uniform scaling 2D geometric transformation on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes. 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 on the X and Y axes.
Uniform scaling 2D geometric transformation on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes. 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 on the X and Y axes.
Attributes
- Definition Classes
XY scaling 2D geometric transformation on a CanvElem, 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 CanvElem, 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
Shear 2D geometric transformation along the X Axis on a CanvElem, returns a CanvElem. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the X Axis on a CanvElem, returns a CanvElem. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
Shear 2D geometric transformation along the Y Axis on a CanvElem, returns a CanvElem. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the Y Axis on a CanvElem, returns a CanvElem. The return type will be narrowed in sub classes and traits.
Attributes
- Definition Classes
Translate 2D geometric transformation on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Translate 2D geometric transformation on a CanvElem, returns a CanvElem. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
Inherited methods
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
Attributes
- Inherited from:
- GraphicElem