Packages

class ShapeGen extends Shape with AxisFree

The new version of ShapeGen. Will prioritise easy and simplicity of functionality over efficiency. A generalised implementation of a Shape. A closed sequence of curve segments.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeGen
  2. AxisFree
  3. Shape
  4. BoundedElem
  5. Fillable
  6. Drawable
  7. GeomElem
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ShapeGen(unsafeArray: Array[CurveSeg])

Type Members

  1. type ThisT = ShapeGen
    Definition Classes
    ShapeGenAxisFree

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 attribs: Arr[XANumeric]
    Definition Classes
    ShapeGenShape
  6. def blBounding: Pt2
    Definition Classes
    BoundedElem
  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 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
    ShapeGenBoundedElem
  10. def boundingWidth: Double

    The width of the BoundingRect of this object.

    The width of the BoundingRect of this object.

    Definition Classes
    BoundedElem
  11. def brBounding: Pt2
    Definition Classes
    BoundedElem
  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. def cenDefault: Pt2

    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.

    Definition Classes
    BoundedElem
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  15. 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
    ShapeGenShapeDrawable
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def fill(fillColour: Colour): ShapeFill

    Returns a fill graphic of this geometric object.

    Returns a fill graphic of this geometric object.

    Definition Classes
    ShapeGenShapeFillable
  19. def fillDraw(fillColour: Colour, lineColour: Colour, lineWidth: Double): GraphicElem

    Returns a fill and draw graphic of this geometric object.

    Returns a fill and draw graphic of this geometric object.

    Definition Classes
    ShapeGenFillable
  20. 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
    ShapeGenShapeFillable
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def negX: ThisT

    Mirror, reflection 2D geometric transformation across the Y axis by negating X.

    Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.

    Definition Classes
    AxisFreeGeomElem
  26. def negY: ThisT

    Mirror, reflection 2D geometric transformation across the X axis by negating y.

    Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

    Definition Classes
    AxisFreeGeomElem
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def prolign(matrix: ProlignMatrix): ShapeGen

    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
    ShapeGenShapeDrawableGeomElem
  30. def reflect(lineLike: LineLike): ShapeGen

    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
    ShapeGenAxisFreeShapeDrawableGeomElem
  31. def rotate(angle: AngleVec): ShapeGen

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

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

    Definition Classes
    ShapeGenAxisFreeShapeDrawableGeomElem
  32. def rotate180: ThisT

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

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

    Definition Classes
    AxisFreeGeomElem
  33. def rotate270: ThisT

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

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

    Definition Classes
    AxisFreeGeomElem
  34. def rotate90: ThisT

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

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

    Definition Classes
    AxisFreeGeomElem
  35. def scale(operand: Double): ShapeGen

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

    Uniform scaling 2D geometric transformation on a ShapeGen 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
    ShapeGenShapeDrawableGeomElem
  36. def scaleXY(xOperand: Double, yOperand: Double): ShapeGen

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

    XY scaling 2D geometric transformation on a ShapeGen 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
    ShapeGenShapeDrawableGeomElem
  37. def shearX(operand: Double): ShapeGen

    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
    ShapeGenShapeDrawableGeomElem
  38. def shearY(operand: Double): ShapeGen

    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
    ShapeGenShapeDrawableGeomElem
  39. def slateXY(xDelta: Double, yDelta: Double): ShapeGen

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

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

    Definition Classes
    ShapeGenShapeDrawableGeomElem
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. def trBounding: Pt2
    Definition Classes
    BoundedElem
  44. val unsafeArray: Array[CurveSeg]
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. 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 AxisFree

Inherited from Shape

Inherited from BoundedElem

Inherited from Fillable

Inherited from Drawable

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped