GraphicSimple

ostrat.geom.GraphicSimple
See theGraphicSimple companion object

GraphicSimple is a non compound graphic element that can be rendered to a display (or printed) or is an active element in a display, but can't be both that require a GraphicCompound.

Attributes

Companion:
object
Graph
Supertypes
trait GeomElem
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

override def negX: GraphicSimple

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
override def negY: GraphicSimple

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
override def prolign(matrix: ProlignMatrix): GraphicSimple

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
override def reflect(lineLike: LineLike): GraphicSimple

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
override def rotate(angle: AngleVec): GraphicSimple

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
override def rotate180: GraphicSimple

Rotate 180 degrees 2D geometric transformation on a GraphicSimple, returns a GraphicSimple. The return type will be narrowed in sub traits / classes.

Rotate 180 degrees 2D geometric transformation on a GraphicSimple, returns a GraphicSimple. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def rotate270: GraphicSimple

Rotate 270 degrees anti clockwise or rotate 90 degrees clockwise 2D geometric transformation on a GraphicSimple, returns a GraphicSimple. 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 GraphicSimple, returns a GraphicSimple. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def rotate90: GraphicSimple

Rotate 90 degrees anti clockwise or rotate 270 degrees clockwise 2D geometric transformation on a GraphicSimple, returns a GraphicSimple. 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 GraphicSimple, returns a GraphicSimple. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def scale(operand: Double): GraphicSimple

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
override def scaleXY(xOperand: Double, yOperand: Double): GraphicSimple

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
override def slateXY(xDelta: Double, yDelta: Double): GraphicSimple

Translate geometric transformation.

Translate geometric transformation.

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
override def shearX(operand: Double): GraphicElem

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:
GraphicElem
override def shearY(operand: Double): GraphicElem

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:
GraphicElem