RectangleFillImp

case class RectangleFillImp(shape: Rectangle, fill: FillFacet) extends RectangleFill

Implementation class for the general case of a RectangleFill.

trait Serializable
trait Product
trait Equals
trait CanvElem
trait ShapeFill
trait GeomElem
class Object
trait Matchable
class Any

Type members

Inherited types

Inherited from:
PolygonFill

Value members

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
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
override def cen: Pt2
Definition Classes
Inherited from:
ShapeGraphicCentred
final override def cenDefault: Pt2

The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

Definition Classes
Inherited from:
CentredElem
override def cenX: Double
Definition Classes
Inherited from:
ShapeGraphicCentred
override def cenY: Double
Definition Classes
Inherited from:
ShapeGraphicCentred
@inline
def foreachVert(f: Pt2 => Unit): Unit
Inherited from:
PolygonGraphic
def ifv2: Boolean

Checks for 2 or more vertices

Checks for 2 or more vertices

Inherited from:
PolygonGraphic
def ifv3: Boolean

Checks for 3 or more vertices

Checks for 3 or more vertices

Inherited from:
PolygonGraphic
override def negX: RectangleFill

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
Inherited from:
RectangleFill
override def negY: RectangleFill

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
Inherited from:
RectangleFill
override def nonShapeAttribs: Arr[XmlAtt]
Definition Classes
Inherited from:
ShapeFill
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
override def rendToCanvas(cp: CanvasPlatform): Unit
Definition Classes
Inherited from:
PolygonFill
override def scale(operand: Double): RectangleFill

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
Inherited from:
RectangleFill
override def scaleXY(xOperand: Double, yOperand: Double): RectangleFill
Inherited from:
ShapeGraphic
override def shearX(operand: Double): PolygonFill
override def shearY(operand: Double): PolygonFill
override def slateXY(xDelta: Double, yDelta: Double): RectangleFill

Translate geometric transformation.

override def svgElem(bounds: BoundingRect): SvgElem
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:
PolygonGraphicSimple
Inherited from:
BoundedElem
override def toDraw(lineWidth: Double, newColour: Colour): PolygonDraw
Definition Classes
Inherited from:
PolygonFill
Inherited from:
BoundedElem
@inline
def vertsMap[A, ArrT <: SeqImut[A]](f: Pt2 => A)(implicit build: ArrBuilder[A, ArrT]): ArrT
Inherited from:
PolygonGraphic
def vertsNum: Int

The number of vertices.

The number of vertices.

Inherited from:
PolygonGraphic
def x1: Double
Inherited from:
PolygonGraphic
def xVertsArray: Array[Double]
Inherited from:
PolygonGraphic
def y1: Double
Inherited from:
PolygonGraphic
def yVertsArray: Array[Double]
Inherited from:
PolygonGraphic