Packages

case class RectCompound(shape: Rect, facets: Arr[GraphicFacet], children: Arr[GraphicElem] = Arr()) extends RectGraphic with RectangleCompound with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RectCompound
  2. Serializable
  3. Product
  4. Equals
  5. RectangleCompound
  6. PolygonCompound
  7. ShapeCompound
  8. NoCanvElem
  9. RectGraphic
  10. ShapeGraphicOrdinaled
  11. OrdinaledElem
  12. OrdinalEdgePoints
  13. RectangleGraphic
  14. ShapeGraphicCentred
  15. CentredElem
  16. WithCentre
  17. PolygonGraphic
  18. ShapeGraphic
  19. GraphicBounded
  20. BoundedElem
  21. GraphicElem
  22. GeomElem
  23. AnyRef
  24. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RectCompound(shape: Rect, facets: Arr[GraphicFacet], children: Arr[GraphicElem] = Arr())

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
    Definition Classes
    PolygonCompound
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def attribs: Arr[XmlAtt]
  7. def blBounding: Pt2
    Definition Classes
    BoundedElem
  8. def blOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  9. def bottomLeft: Pt2
  10. def bottomRight: Pt2
  11. 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()
  12. def boundingHeight: Double
    Definition Classes
    BoundedElem
  13. 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
  14. def boundingWidth: Double

    The width of the BoundingRect of this object.

    The width of the BoundingRect of this object.

    Definition Classes
    BoundedElem
  15. def brBounding: Pt2
    Definition Classes
    BoundedElem
  16. def brOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  17. 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
  18. 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
    ShapeGraphicCentredWithCentre
  19. 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
  20. def cenX: Double

    The X component of the centre.

    The X component of the centre.

    Definition Classes
    ShapeGraphicCentredWithCentre
  21. def cenY: Double

    The Y component of the centre.

    The Y component of the centre.

    Definition Classes
    ShapeGraphicCentredWithCentre
  22. val 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
    RectCompoundShapeCompound
  23. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. val facets: Arr[GraphicFacet]
    Definition Classes
    RectCompoundShapeCompound
  26. def foreachVert(f: (Pt2) => Unit): Unit
    Definition Classes
    PolygonGraphic
    Annotations
    @inline()
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def ifv2: Boolean

    Checks for 2 or more vertices

    Checks for 2 or more vertices

    Definition Classes
    PolygonGraphic
  29. def ifv3: Boolean

    Checks for 3 or more vertices

    Checks for 3 or more vertices

    Definition Classes
    PolygonGraphic
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def negX: RectCompound

    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
    RectCompoundRectangleCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  33. def negY: RectCompound

    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
    RectCompoundRectangleCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. def prolign(matrix: ProlignMatrix): RectCompound

    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
    RectCompoundRectangleCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  38. def reflect(lineLike: LineLike): RectangleCompound

    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
    RectangleCompoundPolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  39. 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
  40. def rotate(angle: AngleVec): RectangleCompound

    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
    RectangleCompoundPolygonCompoundPolygonGraphicShapeCompoundShapeGraphicGraphicBoundedGraphicElemGeomElem
  41. def rotate180: RectCompound

    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
    RectCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  42. def rotate270: RectCompound

    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
    RectCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  43. def rotate90: RectCompound

    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
    RectCompoundRectangleCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  44. def scale(operand: Double): RectCompound

    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
    RectCompoundRectangleCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  45. def scaleXY(xOperand: Double, yOperand: Double): RectCompound

    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
    RectCompoundRectangleCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  46. val shape: Rect
  47. def shapeAttribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphic
  48. 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
  49. 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
  50. def slateXY(xDelta: Double, yDelta: Double): RectCompound

    Translate geometric transformation.

    Translate geometric transformation.

    Definition Classes
    RectCompoundRectangleCompoundPolygonCompoundShapeCompoundPolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  51. def svgElem(bounds: BoundingRect): SvgRect
  52. final def svgInline: String
    Definition Classes
    ShapeGraphic
  53. final def svgJustElem: SvgElem
    Definition Classes
    ShapeGraphic
  54. def svgOut(indent: Int = 0, linePosn: Int = 0, lineLen: Int = 150): String
    Definition Classes
    ShapeGraphic
  55. def svgStr: String
  56. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  57. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  58. def tlOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  59. def topLeft: Pt2
  60. def topRight: Pt2
  61. def trBounding: Pt2
    Definition Classes
    BoundedElem
  62. def trOffset: Vec2

    Top right offset from centre.

    Top right offset from centre.

    Definition Classes
    OrdinalEdgePoints
  63. def vertsMap[A, ArrT <: ArrImut[A]](f: (Pt2) => A)(implicit build: ArrTBuilder[A, ArrT]): ArrT
    Definition Classes
    PolygonGraphic
    Annotations
    @inline()
  64. def vertsNum: Int

    The number of vertices.

    The number of vertices.

    Definition Classes
    PolygonGraphic
  65. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  66. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. def x1: Double
    Definition Classes
    PolygonGraphic
  69. def xVertsArray: Array[Double]
    Definition Classes
    PolygonGraphic
  70. def y1: Double
    Definition Classes
    PolygonGraphic
  71. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from RectangleCompound

Inherited from PolygonCompound

Inherited from ShapeCompound

Inherited from NoCanvElem

Inherited from RectGraphic

Inherited from ShapeGraphicOrdinaled

Inherited from OrdinaledElem

Inherited from OrdinalEdgePoints

Inherited from RectangleGraphic

Inherited from ShapeGraphicCentred

Inherited from CentredElem

Inherited from WithCentre

Inherited from PolygonGraphic

Inherited from ShapeGraphic

Inherited from GraphicBounded

Inherited from BoundedElem

Inherited from GraphicElem

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped