ShapeFill

A simple plain colour fill graphic.

Companion
object
trait GeomElem
class Object
trait Matchable
class Any

Value members

Abstract methods

The colour of this fill graphic.

The colour of this fill graphic.

override def negX: ShapeFill

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.

Definition Classes
override def negY: ShapeFill

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.

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

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.

Definition Classes
override def scaleXY(xOperand: Double, yOperand: Double): ShapeFill
override def shearX(operand: Double): ShapeFill
Definition Classes
override def shearY(operand: Double): ShapeFill
Definition Classes
override def slateXY(xDelta: Double, yDelta: Double): ShapeFill

Translate geometric transformation.

Translate geometric transformation.

Definition Classes
def toDraw(lineWidth: Double, newColour: Colour): ShapeDraw

Concrete methods

override def nonShapeAttribs: Arr[XmlAtt]
Definition Classes

Inherited methods

final override def attribs: Arr[XmlAtt]
Definition Classes
Inherited from
ShapeGraphicSimple
Inherited from
BoundedElem
@inline
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
def boundingHeight: Double
Inherited from
BoundedElem
Definition Classes
Inherited from
ShapeGraphic
def boundingWidth: Double

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

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
def shape: Shape
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
def svgStr: String
Inherited from
ShapeGraphic
Inherited from
BoundedElem
Inherited from
BoundedElem