CanvShapeFill

trait CanvShapeFill extends ShapeFill with CanvElem

ShapeFill element that is a CanvElem

trait CanvElem
trait ShapeFill
trait GeomElem
class Object
trait Matchable
class Any

Value members

Abstract methods

override def negX: CanvShapeFill

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

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

Definition Classes
override def negY: CanvShapeFill

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

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

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

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.

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

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.

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

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.

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

Uniform scaling 2D geometric transformation on a CanvShapeFill, returns a CanvShapeFill. 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 CanvShapeFill, returns a CanvShapeFill. 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.

Definition Classes
override def scaleXY(xOperand: Double, yOperand: Double): CanvShapeFill

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.

Definition Classes
override def shearX(operand: Double): CanvShapeFill

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.

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

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.

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

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

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

Definition Classes

Inherited methods

final override def attribs: Arr[XmlAtt]
Definition Classes
Inherited from:
ShapeGraphicSimple
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.

Inherited from:
BoundedElem
Inherited from:
BoundedElem
Definition Classes
Inherited from:
ShapeGraphic

The width of the BoundingRect of this object.

The width of the BoundingRect of this object.

Inherited from:
BoundedElem
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.

Inherited from:
BoundedElem

The colour of this fill graphic.

The colour of this fill graphic.

Inherited from:
ShapeFill
override def nonShapeAttribs: Arr[XmlAtt]
Definition Classes
Inherited from:
ShapeFill

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.

Inherited from:
GraphicElem
Inherited from:
ShapeGraphic
Inherited from:
ShapeGraphic
Inherited from:
ShapeGraphic
final def svgInline: String
Inherited from:
ShapeGraphic
final def svgJustElem: SvgElem
Inherited from:
ShapeGraphic
def svgOut(indent: Int, linePosn: Int, lineLen: Int): String
Inherited from:
ShapeGraphic
Inherited from:
ShapeGraphic
Inherited from:
BoundedElem
def toDraw(lineWidth: Double, newColour: Colour): ShapeDraw
Inherited from:
ShapeFill
Inherited from:
BoundedElem