RectangleDraw

Graphic that draws a rectangle.

Companion
object

Value members

Concrete methods

override def negX: RectangleDraw

Mirror, reflection transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

Mirror, reflection transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

Definition Classes
override def negY: RectangleDraw

Mirror, reflection transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

Mirror, reflection transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

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

Mirror, reflection transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

Mirror, reflection transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

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

Mirror, reflection transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

Mirror, reflection transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

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

Mirror, rotate(radians) transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

Mirror, rotate(radians) transformation across the X axis upon a RectangleDraw returns a RectangleDraw.

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

Uniform scaling transformation a RectangleDraw, returns a RectangleDraw.

Uniform scaling transformation a RectangleDraw, returns a RectangleDraw.

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

Independent X and Y dimension scaling upon a RectangleDraw returns a RectangleDraw.

Independent X and Y dimension scaling upon a RectangleDraw returns a RectangleDraw.

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

Translate geometric transformation on a RectangleDraw, returns a RectangleDraw.

Translate geometric transformation on a RectangleDraw, returns a RectangleDraw.

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

The line colour of this draw graphic.

The line colour of this draw graphic.

Inherited from
ShapeDraw
def lineWidth: Double

The line width of this draw graphic

The line width of this draw graphic

Inherited from
ShapeDraw
override def nonShapeAttribs: Arr[XmlAtt]
Definition Classes
Inherited from
ShapeDraw
override def rendToCanvas(cp: CanvasPlatform): Unit
Definition Classes
Inherited from
PolygonDraw
Inherited from
ShapeGraphic
override def shearX(operand: Double): PolygonDraw

Shear along the X axis upon a PolygonDraw returns a PolygonDraw.

Shear along the X axis upon a PolygonDraw returns a PolygonDraw.

Definition Classes
Inherited from
PolygonDraw
override def shearY(operand: Double): PolygonDraw

Shear along the Y axis upon a PolygonDraw returns a PolygonDraw.

Shear along the Y axis upon a PolygonDraw returns a PolygonDraw.

Definition Classes
Inherited from
PolygonDraw
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
Inherited from
BoundedElem
@inline
def vertsMap[A, ArrT <: ArrImut[A]](f: Pt2 => A)(implicit build: ArrTBuilder[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