Packages

trait PolygonCompound extends ShapeCompound with PolygonGraphic

A compound polygon based Graphic. May contain multiple facets and child graphic members.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PolygonCompound
  2. PolygonGraphic
  3. ShapeCompound
  4. NoCanvElem
  5. ShapeGraphic
  6. GraphicBounded
  7. BoundedElem
  8. GraphicElem
  9. GeomElem
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def children: Arr[GraphicElem]

    The ShapeCompound type will be widened at a later point.

    The ShapeCompound type will be widened at a later point.

    Definition Classes
    ShapeCompound
  2. abstract def facets: Arr[GraphicFacet]
    Definition Classes
    ShapeCompound
  3. abstract def shape: Polygon
    Definition Classes
    PolygonGraphicShapeGraphic

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. def addChildren(newChildren: Arr[GraphicElem]): PolygonCompound
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def attribs: Arr[XmlAtt]
    Definition Classes
    PolygonCompoundShapeGraphic
  7. def blBounding: Pt2
    Definition Classes
    BoundedElem
  8. 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()
  9. def boundingHeight: Double
    Definition Classes
    BoundedElem
  10. 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
    PolygonGraphicShapeGraphicBoundedElem
  11. def boundingWidth: Double

    The width of the BoundingRect of this object.

    The width of the BoundingRect of this object.

    Definition Classes
    BoundedElem
  12. def brBounding: Pt2
    Definition Classes
    BoundedElem
  13. def canvElems: Arr[CanvElem]

    This method converts this non standard graphic element into CanvElems that can be processed by the pCanv.CanvasPlatform.

    This method converts this non standard graphic element into CanvElems that can be processed by the pCanv.CanvasPlatform.

    Definition Classes
    PolygonCompoundShapeCompoundNoCanvElem
  14. 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
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def foreachVert(f: (Pt2) => Unit): Unit
    Definition Classes
    PolygonGraphic
    Annotations
    @inline()
  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. def ifv2: Boolean

    Checks for 2 or more vertices

    Checks for 2 or more vertices

    Definition Classes
    PolygonGraphic
  22. def ifv3: Boolean

    Checks for 3 or more vertices

    Checks for 3 or more vertices

    Definition Classes
    PolygonGraphic
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def negX: PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  26. def negY: PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  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): PolygonCompound

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

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  31. 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
    PolygonCompoundGraphicElem
  32. def rotate(angle: AngleVec): PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  33. def rotate180: PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  34. def rotate270: PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  35. def rotate90: PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  36. def scale(operand: Double): PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  37. def scaleXY(xOperand: Double, yOperand: Double): PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  38. def shapeAttribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphic
  39. def shearX(operand: Double): PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundGraphicBoundedGraphicElemGeomElem
  40. def shearY(operand: Double): PolygonCompound

    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
    PolygonCompoundPolygonGraphicShapeCompoundGraphicBoundedGraphicElemGeomElem
  41. def slateXY(xDelta: Double, yDelta: Double): PolygonCompound

    Translate geometric transformation.

    Translate geometric transformation.

    Definition Classes
    PolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  42. def svgElem(bounds: BoundingRect): SvgElem
    Definition Classes
    PolygonCompoundPolygonGraphicShapeGraphic
  43. final def svgInline: String
    Definition Classes
    ShapeGraphic
  44. final def svgJustElem: SvgElem
    Definition Classes
    ShapeGraphic
  45. def svgOut(indent: Int = 0, linePosn: Int = 0, lineLen: Int = 150): String
    Definition Classes
    ShapeGraphic
  46. def svgStr: String
    Definition Classes
    PolygonCompoundShapeGraphic
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. def trBounding: Pt2
    Definition Classes
    BoundedElem
  51. def vertsMap[A, ArrT <: ArrImut[A]](f: (Pt2) => A)(implicit build: ArrTBuilder[A, ArrT]): ArrT
    Definition Classes
    PolygonGraphic
    Annotations
    @inline()
  52. def vertsNum: Int

    The number of vertices.

    The number of vertices.

    Definition Classes
    PolygonGraphic
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. def x1: Double
    Definition Classes
    PolygonGraphic
  57. def xVertsArray: Array[Double]
    Definition Classes
    PolygonGraphic
  58. def y1: Double
    Definition Classes
    PolygonGraphic
  59. def yVertsArray: Array[Double]
    Definition Classes
    PolygonGraphic

Deprecated Value Members

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

Inherited from PolygonGraphic

Inherited from ShapeCompound

Inherited from NoCanvElem

Inherited from ShapeGraphic

Inherited from GraphicBounded

Inherited from BoundedElem

Inherited from GraphicElem

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped