ShapeGraphicSimple

ostrat.geom.ShapeGraphicSimple

Attributes

Graph
Supertypes
trait ShapeGraphic
trait BoundedElem
trait GraphicElem
trait GeomElem
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

override def negX: ShapeGraphicSimple

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.

Attributes

Definition Classes
override def negY: ShapeGraphicSimple

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.

Attributes

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

2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.

2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.

Attributes

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

Reflect 2D geometric transformation across a line, line segment or ray on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.

Reflect 2D geometric transformation across a line, line segment or ray on a GraphicElem, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.

Attributes

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

Rotation 2D geometric transformation on a GraphicElem taking the rotation as a scalar measured in radians, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.

Rotation 2D geometric transformation on a GraphicElem taking the rotation as a scalar measured in radians, returns a GraphicElem. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes

Rotate 180 degrees 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

Rotate 180 degrees 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes

Rotate 270 degrees anti clockwise or rotate 90 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

Rotate 270 degrees anti clockwise or rotate 90 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

Attributes

Definition Classes

Rotate 90 degrees anti clockwise or rotate 270 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

Rotate 90 degrees anti clockwise or rotate 270 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

Attributes

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

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.

Attributes

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

XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.

XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.

Attributes

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

Translate geometric transformation.

Translate geometric transformation.

Attributes

Definition Classes

Concrete methods

final override def attribs: RArr[XmlAtt]

Attributes

Definition Classes
final def svgInline: HtmlSvg
final def svgJustElem: SvgElem

Inherited methods

Attributes

Inherited from:
BoundedElem
final def boundCen: Pt2

The centre of the bounding rectangle. consider also using cenDefault.

The centre of the bounding rectangle. consider also using cenDefault.

Attributes

Inherited from:
BoundedElem

Attributes

Inherited from:
BoundedElem
final override def boundingHeight: Double

The height of the BoundingRect of this object.

The height of the BoundingRect of this object.

Attributes

Definition Classes
Inherited from:
ShapeGraphic
final override def boundingRect: Rect

The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape

The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape

Attributes

Definition Classes
Inherited from:
ShapeGraphic
final override def boundingWidth: Double

The width of the BoundingRect of this object.

The width of the BoundingRect of this object.

Attributes

Definition Classes
Inherited from:
ShapeGraphic

Attributes

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.

Attributes

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.

Attributes

Inherited from:
GraphicElem
def shape: Shape

Attributes

Inherited from:
ShapeGraphic

Attributes

Inherited from:
ShapeGraphic
override def shearX(operand: Double): GraphicBounded

Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

Attributes

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

Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
Inherited from:
GraphicBounded

Attributes

Inherited from:
GraphicSvgElem
override def svgElems: RArr[SvgElem]

Attributes

Definition Classes
Inherited from:
GraphicSvgElem
final def svgInlineStr: String

Attributes

Inherited from:
ShapeGraphic

Attributes

Inherited from:
BoundedElem