Packages

t

ostrat.geom

ShapeGraphicOrdinaled

trait ShapeGraphicOrdinaled extends ShapeGraphic with OrdinaledElem

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.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeGraphicOrdinaled
  2. OrdinaledElem
  3. OrdinalEdgePoints
  4. CentredElem
  5. WithCentre
  6. ShapeGraphic
  7. GraphicBounded
  8. BoundedElem
  9. GraphicElem
  10. GeomElem
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def attribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphic
  2. abstract def cen: Pt2

    The centre of this geometric / graphical element.

    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.

    Definition Classes
    WithCentre
  3. abstract def cenX: Double

    The X component of the centre.

    The X component of the centre.

    Definition Classes
    WithCentre
  4. abstract def cenY: Double

    The Y component of the centre.

    The Y component of the centre.

    Definition Classes
    WithCentre
  5. abstract def negX: ShapeGraphic

    Mirror, reflection transformation across the X axis.

    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
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  6. abstract def negY: ShapeGraphic

    Mirror, reflection transformation across the X axis.

    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
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  7. abstract def prolign(matrix: ProlignMatrix): ShapeGraphic

    2D geometric transformation using a ProlignMatrix on a GraphicElem, returns a GraphicElem.

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

    Definition Classes
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  8. abstract def reflect(lineLike: LineLike): ShapeGraphic

    Reflect 2D geometric transformation across a line, line segment or ray on a GraphicElem, returns a GraphicElem.

    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.

    Definition Classes
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  9. abstract def rendToCanvas(cp: CanvasPlatform): Unit

    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.

    Definition Classes
    GraphicElem
  10. abstract def rotate(angle: AngleVec): ShapeGraphic

    Rotation 2D geometric transformation on a GraphicElem taking the rotation as a scalar measured in radians, returns a GraphicElem.

    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.

    Definition Classes
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  11. abstract def rotate180: ShapeGraphic

    Rotation positive or anti clockwise 180 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem.

    Rotation positive or anti clockwise 180 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

    Definition Classes
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  12. abstract def rotate270: ShapeGraphic

    Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem.

    Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

    Definition Classes
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  13. abstract def rotate90: ShapeGraphic

    Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem.

    Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GraphicElem, returns a GraphicElem. The return type will be narrowed in sub classes and traits.

    Definition Classes
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  14. abstract def scale(operand: Double): ShapeGraphic

    Uniform scaling transformation.

    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
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  15. abstract def scaleXY(xOperand: Double, yOperand: Double): ShapeGraphic

    XY scaling 2D geometric transformation on a GraphicElem, returns a GrpahicElem.

    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.

    Definition Classes
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  16. abstract def shape: ShapeOrdinaled
    Definition Classes
    ShapeGraphicOrdinaledShapeGraphic
  17. abstract def shearX(operand: Double): GraphicBounded

    Shear 2D geometric transformation along the X Axis on a GraphicElem, returns a GraphicElem.

    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.

    Definition Classes
    GraphicBoundedGraphicElemGeomElem
  18. abstract def shearY(operand: Double): GraphicBounded

    Shear 2D geometric transformation along the Y Axis on a GraphicElem, returns a GraphicElem.

    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.

    Definition Classes
    GraphicBoundedGraphicElemGeomElem
  19. abstract def slateXY(xDelta: Double, yDelta: Double): ShapeGraphic

    Translate geometric transformation.

    Translate geometric transformation.

    Definition Classes
    ShapeGraphicGraphicBoundedGraphicElemGeomElem
  20. abstract def svgElem(bounds: BoundingRect): SvgElem
    Definition Classes
    ShapeGraphic
  21. abstract def svgStr: String
    Definition Classes
    ShapeGraphic

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def blBounding: Pt2
    Definition Classes
    BoundedElem
  6. def blOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  7. def bottomLeft: Pt2
  8. def bottomRight: Pt2
  9. final def boundCen: Pt2

    The centre of the bounding rectangle.

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

    Definition Classes
    BoundedElem
    Annotations
    @inline()
  10. def boundingHeight: Double
    Definition Classes
    BoundedElem
  11. def boundingRect: BoundingRect

    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

    Definition Classes
    ShapeGraphicBoundedElem
  12. def boundingWidth: Double

    The width of the BoundingRect of this object.

    The width of the BoundingRect of this object.

    Definition Classes
    BoundedElem
  13. def brBounding: Pt2
    Definition Classes
    BoundedElem
  14. def brOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  15. final def cenDefault: Pt2

    The default centre of this object is the centre.

    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
    CentredElemBoundedElem
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def shapeAttribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphic
  26. final def svgInline: String
    Definition Classes
    ShapeGraphic
  27. final def svgJustElem: SvgElem
    Definition Classes
    ShapeGraphic
  28. def svgOut(indent: Int = 0, linePosn: Int = 0, lineLen: Int = 150): String
    Definition Classes
    ShapeGraphic
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  31. def tlOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def topLeft: Pt2
  34. def topRight: Pt2
  35. def trBounding: Pt2
    Definition Classes
    BoundedElem
  36. def trOffset: Vec2

    Top right offset from centre.

    Top right offset from centre.

    Definition Classes
    OrdinalEdgePoints
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from OrdinaledElem

Inherited from OrdinalEdgePoints

Inherited from CentredElem

Inherited from WithCentre

Inherited from ShapeGraphic

Inherited from GraphicBounded

Inherited from BoundedElem

Inherited from GraphicElem

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped