ShapeCompound

A shape based compound graphic.

Companion
object
trait GeomElem
class Object
trait Matchable
class Any

Value members

Abstract methods

The ShapeCompound type will be widened at a later point.

The ShapeCompound type will be widened at a later point.

override def negX: ShapeCompound

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

2D geometric mirror, reflection transformation across the X axis on this ShapeCompound , returns a ShapeCompound. The return type may be narrowed in sub trait / classes.

2D geometric mirror, reflection transformation across the X axis on this ShapeCompound , returns a ShapeCompound. The return type may be narrowed in sub trait / classes.

Definition Classes
override def prolign(matrix: ProlignMatrix): ShapeCompound
Definition Classes
override def reflect(lineLike: LineLike): ShapeCompound
Definition Classes
override def rotate(angle: AngleVec): ShapeCompound
Definition Classes
override def rotate180: ShapeCompound
Definition Classes
override def rotate270: ShapeCompound
Definition Classes
override def rotate90: ShapeCompound
Definition Classes
override def scale(operand: Double): ShapeCompound

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

2D geometric translation transformation on this ShapeCompound, returns a ShapeCompound. Return type may be narrowed in sub class /traits.

2D geometric translation transformation on this ShapeCompound, returns a ShapeCompound. Return type may be narrowed in sub class /traits.

Definition Classes

Concrete methods

override def canvElems: Arr[CanvElem]
Definition Classes

Inherited methods

Inherited from
ShapeGraphic
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