ShapeGraphicOrdinaled

A Shape based graphic where the Ordinal edge points, the cardinal edge points and the centre are defined. This includes Rects, Circles, aligned ellipses and curved Rects. There is no type class for this capability as one s unlikely to want to move a collection of graphics to the same point.

trait GeomElem
class Object
trait Matchable
class Any

Value members

Abstract methods

override
Definition Classes

Concrete methods

override
Definition Classes
override
Definition Classes
override
Definition Classes
override
Definition Classes

Inherited methods

Inherited from
ShapeGraphic
Inherited from
BoundedElem
Inherited from
OrdinalEdgePoints
@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
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
Inherited from
OrdinalEdgePoints
def cen: Pt2

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

Inherited from
WithCentre
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
def cenX: Double

The X component of the centre.

The X component of the centre.

Inherited from
WithCentre
def cenY: Double

The Y component of the centre.

The Y component of the centre.

Inherited from
WithCentre

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.

Inherited from
ShapeGraphic

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.

Inherited from
ShapeGraphic
Inherited from
ShapeGraphic
def reflect(lineLike: LineLike): ShapeGraphic
Inherited from
ShapeGraphic

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
Inherited from
ShapeGraphic
override
Definition Classes
Inherited from
ShapeGraphic
override
Definition Classes
Inherited from
ShapeGraphic
override
Definition Classes
Inherited from
ShapeGraphic
def scale(operand: Double): ShapeGraphic

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.

Inherited from
ShapeGraphic
override
def scaleXY(xOperand: Double, yOperand: Double): ShapeGraphic
Definition Classes
Inherited from
ShapeGraphic
Inherited from
ShapeGraphic
override
def shearX(operand: Double): GraphicBounded
Definition Classes
Inherited from
GraphicBounded
override
def shearY(operand: Double): GraphicBounded
Definition Classes
Inherited from
GraphicBounded
def slateXY(xDelta: Double, yDelta: Double): ShapeGraphic

Translate geometric transformation.

Translate geometric transformation.

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

Top right offset from centre.

Top right offset from centre.

Inherited from
OrdinalEdgePoints