Packages

t

ostrat.geom

ShapeOrdinaled

trait ShapeOrdinaled extends Shape with OrdinaledElem

A Shape where the Ordinal edge points, the cardinal edge points and the centre are defined. This includes Rects, Circles, aligned ellipses and curved Rects.

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeOrdinaled
  2. OrdinaledElem
  3. OrdinalEdgePoints
  4. CentredElem
  5. WithCentre
  6. Shape
  7. BoundedElem
  8. Fillable
  9. Drawable
  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[XANumeric]
    Definition Classes
    Shape
  2. abstract def bottomLeft: Pt2
    Definition Classes
    OrdinalEdgePoints
  3. abstract def bottomRight: Pt2
    Definition Classes
    OrdinalEdgePoints
  4. abstract 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
    BoundedElem
  5. 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
  6. abstract def cenX: Double

    The X component of the centre.

    The X component of the centre.

    Definition Classes
    WithCentre
  7. abstract def cenY: Double

    The Y component of the centre.

    The Y component of the centre.

    Definition Classes
    WithCentre
  8. abstract def draw(lineColour: Colour = Black, lineWidth: Double = 2): ShapeDraw

    Draws this geometric element to produce a GraphElem graphical element, tht can be displayed or printed.

    Draws this geometric element to produce a GraphElem graphical element, tht can be displayed or printed.

    Definition Classes
    ShapeDrawable
  9. abstract def fill(fillColour: Colour): ShapeFill

    Returns a fill graphic of this geometric object.

    Returns a fill graphic of this geometric object.

    Definition Classes
    ShapeFillable
  10. abstract def fillDraw(fillColour: Colour, lineColour: Colour = Black, lineWidth: Double = 2): GraphicElem

    Returns a fill and draw graphic of this geometric object.

    Returns a fill and draw graphic of this geometric object.

    Definition Classes
    Fillable
  11. abstract def fillInt(intValue: Int): ShapeFill

    Returns a fill graphic of this geometric object from the Int RGBA value.

    Returns a fill graphic of this geometric object from the Int RGBA value.

    Definition Classes
    ShapeFillable
  12. abstract def negX: Shape

    Mirror, reflection 2D geometric transformation across the X axis on a Shape returns a Shape.

    Mirror, reflection 2D geometric transformation across the X axis on a Shape returns a Shape. The Return type will be narrowed in sub traits / classes.

    Definition Classes
    ShapeDrawableGeomElem
  13. abstract def negY: Shape

    Mirror, reflection 2D geometric transformation across the X axis on a Shape returns a Shape.

    Mirror, reflection 2D geometric transformation across the X axis on a Shape returns a Shape. The Return type will be narrowed in sub traits / classes.

    Definition Classes
    ShapeDrawableGeomElem
  14. abstract def prolign(matrix: ProlignMatrix): Shape

    2D Transformation using a ProlignMatrix on a Shape, returns a Shape.

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

    Definition Classes
    ShapeDrawableGeomElem
  15. abstract def reflect(lineLike: LineLike): Shape

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

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

    Definition Classes
    ShapeDrawableGeomElem
  16. abstract def rotate(angle: AngleVec): Shape

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

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

    Definition Classes
    ShapeDrawableGeomElem
  17. abstract def rotate180: Shape

    Rotation of 180 degrees, 2D geometric transformation on a Drawable, returns a Drawable.

    Rotation of 180 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.

    Definition Classes
    ShapeDrawableGeomElem
  18. abstract def rotate270: Shape

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

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

    Definition Classes
    ShapeDrawableGeomElem
  19. abstract def rotate90: Shape

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

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

    Definition Classes
    ShapeDrawableGeomElem
  20. abstract def scale(operand: Double): Shape

    Uniform scaling 2D geometric transformation on a Shape returns a Shape.

    Uniform scaling 2D geometric transformation on a Shape returns a Shape. The Return type will be narrowed in sub traits / classes. Use the xyScale method for differential scaling on the X and Y axes.

    Definition Classes
    ShapeDrawableGeomElem
  21. abstract def scaleXY(xOperand: Double, yOperand: Double): Shape

    XY scaling 2D geometric transformation on a Shape returns a Shape.

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

    Definition Classes
    ShapeDrawableGeomElem
  22. abstract def shearX(operand: Double): Shape

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

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

    Definition Classes
    ShapeDrawableGeomElem
  23. abstract def shearY(operand: Double): Shape

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

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

    Definition Classes
    ShapeDrawableGeomElem
  24. abstract def slateXY(xDelta: Double, yDelta: Double): Shape

    Translate 2D geometric transformation on a Shape returns a Shape.

    Translate 2D geometric transformation on a Shape returns a Shape. The Return type will be narrowed in sub traits / classes.

    Definition Classes
    ShapeDrawableGeomElem
  25. abstract def topLeft: Pt2
    Definition Classes
    OrdinalEdgePoints
  26. abstract def topRight: Pt2
    Definition Classes
    OrdinalEdgePoints

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. 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()
  8. def boundingHeight: Double
    Definition Classes
    BoundedElem
  9. def boundingWidth: Double

    The width of the BoundingRect of this object.

    The width of the BoundingRect of this object.

    Definition Classes
    BoundedElem
  10. def brBounding: Pt2
    Definition Classes
    BoundedElem
  11. def brOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  12. def canEqual(that: Any): Boolean

    This canEqual override allow the comparison of Shapes.

    This canEqual override allow the comparison of Shapes.

    Definition Classes
    Shape
  13. 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
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  25. def tlOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def trBounding: Pt2
    Definition Classes
    BoundedElem
  28. def trOffset: Vec2

    Top right offset from centre.

    Top right offset from centre.

    Definition Classes
    OrdinalEdgePoints
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. 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 Shape

Inherited from BoundedElem

Inherited from Fillable

Inherited from Drawable

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped