CanvShapeDraw

ostrat.geom.CanvShapeDraw
trait CanvShapeDraw extends ShapeDraw with CanvElem

Attributes

Graph
Supertypes
trait CanvElem
trait ShapeDraw
trait GeomElem
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

override def negX: CanvShapeDraw

Mirror, reflection 2D geometric transformation across the X axis on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the X axis on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def negY: CanvShapeDraw

Mirror, reflection 2D geometric transformation across the X axis on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the X axis on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def prolign(matrix: ProlignMatrix): CanvShapeDraw

2D geometric transformation using a ProlignMatrix on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

2D geometric transformation using a ProlignMatrix on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def reflect(lineLike: LineLike): CanvShapeDraw

Reflect 2D geometric transformation across a line, line segment or ray on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Reflect 2D geometric transformation across a line, line segment or ray on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def rotate(angle: AngleVec): CanvShapeDraw

Rotation 2D geometric transformation on a CanvShapeDraw taking the rotation as a scalar measured in radians, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Rotation 2D geometric transformation on a CanvShapeDraw taking the rotation as a scalar measured in radians, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def rotate180: CanvShapeDraw

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
override def rotate270: CanvShapeDraw

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
override def rotate90: CanvShapeDraw

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
override def scale(operand: Double): CanvShapeDraw

Uniform scaling 2D geometric transformation on a CanvShapeDraw, returns a CanvShapeDraw. 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 CanvShapeDraw, returns a CanvShapeDraw. 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
override def scaleXY(xOperand: Double, yOperand: Double): CanvShapeDraw

XY scaling 2D geometric transformation on a CanvShapeDraw, 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 CanvShapeDraw, 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 shearX(operand: Double): CanvShapeDraw

Shear 2D geometric transformation along the X Axis on a CanvShapeDraw, returns a CanvShapeDraw. The return type will be narrowed in sub classes and traits.

Shear 2D geometric transformation along the X Axis on a CanvShapeDraw, returns a CanvShapeDraw. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def shearY(operand: Double): CanvShapeDraw

Shear 2D geometric transformation along the Y Axis on a CanvShapeDraw, returns a CanvShapeDraw. The return type will be narrowed in sub classes and traits.

Shear 2D geometric transformation along the Y Axis on a CanvShapeDraw, returns a CanvShapeDraw. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
override def slateXY(xDelta: Double, yDelta: Double): CanvShapeDraw

Translate 2D geometric transformation on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Translate 2D geometric transformation on a CanvShapeDraw, returns a CanvShapeDraw. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes

Inherited methods

final override def attribs: RArr[XmlAtt]

Attributes

Definition Classes
Inherited from:
ShapeGraphicSimple

Attributes

Inherited from:
BoundedElem
final def boundCen: Pt2

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

Inherited from:
BoundedElem

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

The line colour of this draw graphic.

The line colour of this draw graphic.

Attributes

Inherited from:
ShapeDraw

The line width of this draw graphic

The line width of this draw graphic

Attributes

Inherited from:
ShapeDraw
override def nonShapeAttribs: RArr[XmlAtt]

Attributes

Definition Classes
Inherited from:
ShapeDraw

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

Attributes

Inherited from:
ShapeGraphic

Attributes

Inherited from:
ShapeDraw

Attributes

Inherited from:
ShapeDraw

Attributes

Inherited from:
ShapeGraphic
final def svgInline: String

Attributes

Inherited from:
ShapeGraphic
final def svgJustElem: SvgElem

Attributes

Inherited from:
ShapeGraphic
def svgOut(indent: Int, linePosn: Int, lineLen: Int): String

Attributes

Inherited from:
ShapeGraphic

Attributes

Inherited from:
ShapeGraphic

Attributes

Inherited from:
BoundedElem

Attributes

Inherited from:
BoundedElem