RectangleCompoundImp

case
class RectangleCompoundImp(shape: Rectangle, facets: Arr[GraphicFacet], children: Arr[GraphicElem]) extends RectangleCompound with AxisFree
trait Serializable
trait Product
trait Equals
trait AxisFree
trait GeomElem
class Object
trait Matchable
class Any

Type members

Types

override

Value members

Concrete methods

override
override
def scale(operand: Double): RectangleCompoundImp

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): RectangleCompoundImp
override
def shearX(operand: Double): PolygonCompound
override
def shearY(operand: Double): PolygonCompound
override
def slateXY(xDelta: Double, yDelta: Double): RectangleCompoundImp

Translate geometric transformation.

Translate geometric transformation.

Definition Classes
override
def svgStr: String

Inherited methods

Inherited from
PolygonCompound
Inherited from
BoundedElem
@inline
final

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

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: ThisT
Definition Classes
Inherited from
AxisFree
override
def negY: ThisT
Definition Classes
Inherited from
AxisFree
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override
Definition Classes
Inherited from
PolygonCompound
override
Definition Classes
Inherited from
AxisFree
override
Definition Classes
Inherited from
AxisFree
override
Definition Classes
Inherited from
AxisFree
Inherited from
ShapeGraphic
final
def svgInline: String
Inherited from
ShapeGraphic
final
Inherited from
ShapeGraphic
def svgOut(indent: Int, linePosn: Int, lineLen: Int): String
Inherited from
ShapeGraphic
Inherited from
BoundedElem
Inherited from
BoundedElem
@inline
def vertsMap[A, ArrT <: ArrBase[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