Packages

trait PolygonFill extends PolygonGraphicSimple with CanvShapeFill

Immutable Graphic element that defines and fills a Polygon. This element can be trnsformed through all the Affine transformations and a PolygonFill will be returned.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PolygonFill
  2. CanvShapeFill
  3. CanvElem
  4. ShapeFill
  5. PolygonGraphicSimple
  6. ShapeGraphicSimple
  7. GraphicSimple
  8. PolygonGraphic
  9. ShapeGraphic
  10. GraphicBounded
  11. BoundedElem
  12. GraphicElem
  13. GeomElem
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def fill: FillFacet

    The colour of this fill graphic.

    The colour of this fill graphic.

    Definition Classes
    ShapeFill
  2. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def attribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphicSimpleShapeGraphic
  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
    PolygonGraphicSimplePolygonGraphicShapeGraphicBoundedElem
  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 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
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def foreachVert(f: (Pt2) => Unit): Unit
    Definition Classes
    PolygonGraphic
    Annotations
    @inline()
  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. def ifv2: Boolean

    Checks for 2 or more vertices

    Checks for 2 or more vertices

    Definition Classes
    PolygonGraphic
  20. def ifv3: Boolean

    Checks for 3 or more vertices

    Checks for 3 or more vertices

    Definition Classes
    PolygonGraphic
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def negX: PolygonFill

    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
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  24. def negY: PolygonFill

    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
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  25. def nonShapeAttribs: Arr[XmlAtt]
    Definition Classes
    ShapeFillShapeGraphicSimple
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def prolign(matrix: ProlignMatrix): PolygonFill

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

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

    Definition Classes
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  29. def reflect(lineLike: LineLike): PolygonFill

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

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

    Definition Classes
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  30. 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
    PolygonFillGraphicElem
  31. def rotate(angle: AngleVec): PolygonFill

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

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

    Definition Classes
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  32. def rotate180: PolygonFill

    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
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  33. def rotate270: PolygonFill

    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
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  34. def rotate90: PolygonFill

    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
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  35. def scale(operand: Double): PolygonFill

    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
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  36. def scaleXY(xOperand: Double, yOperand: Double): PolygonFill

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

    XY scaling 2D geometric transformation on a CanvShapeFill, 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
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  37. def shapeAttribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphic
  38. def shearX(operand: Double): PolygonFill

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

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

    Definition Classes
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimplePolygonGraphicGraphicBoundedGraphicElemGeomElem
  39. def shearY(operand: Double): PolygonFill

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

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

    Definition Classes
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimplePolygonGraphicGraphicBoundedGraphicElemGeomElem
  40. def slateXY(xDelta: Double, yDelta: Double): PolygonFill

    Translate geometric transformation.

    Translate geometric transformation.

    Definition Classes
    PolygonFillCanvShapeFillCanvElemShapeFillPolygonGraphicSimpleShapeGraphicSimpleGraphicSimplePolygonGraphicShapeGraphicGraphicBoundedGraphicElemGeomElem
  41. def svgElem(bounds: BoundingRect): SvgElem
  42. final def svgInline: String
    Definition Classes
    ShapeGraphic
  43. final def svgJustElem: SvgElem
    Definition Classes
    ShapeGraphic
  44. def svgOut(indent: Int = 0, linePosn: Int = 0, lineLen: Int = 150): String
    Definition Classes
    ShapeGraphic
  45. def svgStr: String
    Definition Classes
    PolygonGraphicSimpleShapeGraphic
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  48. def toDraw(lineWidth: Double = 2, newColour: Colour): PolygonDraw
    Definition Classes
    PolygonFillShapeFill
  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 CanvShapeFill

Inherited from CanvElem

Inherited from ShapeFill

Inherited from PolygonGraphicSimple

Inherited from ShapeGraphicSimple

Inherited from GraphicSimple

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