ShapeGraphic

A shape based graphic.

Companion
object
trait GeomElem
class Object
trait Matchable
class Any

Value members

Abstract methods

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.

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.

def reflect(lineLike: LineLike): ShapeGraphic
override def rotate180: ShapeGraphic
Definition Classes
override def rotate270: ShapeGraphic
Definition Classes
override def rotate90: ShapeGraphic
Definition Classes
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.

override def scaleXY(xOperand: Double, yOperand: Double): ShapeGraphic
Definition Classes
def shape: Shape
def slateXY(xDelta: Double, yDelta: Double): ShapeGraphic

Translate geometric transformation.

Translate geometric transformation.

def svgStr: String

Concrete methods

Definition Classes
final def svgInline: String
final def svgJustElem: SvgElem
def svgOut(indent: Int, linePosn: Int, lineLen: Int): String

Inherited methods

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

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
override def shearX(operand: Double): GraphicBounded
Definition Classes
Inherited from
GraphicBounded
override def shearY(operand: Double): GraphicBounded
Definition Classes
Inherited from
GraphicBounded
Inherited from
BoundedElem
Inherited from
BoundedElem