Packages

trait ShapeDraw extends ShapeGraphicSimple

A simple no compound graphic that draws a shape. The line has a single width and colour.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeDraw
  2. ShapeGraphicSimple
  3. GraphicSimple
  4. ShapeGraphic
  5. GraphicBounded
  6. BoundedElem
  7. GraphicElem
  8. GeomElem
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def lineColour: Colour

    The line colour of this draw graphic.

  2. abstract def lineWidth: Double

    The line width of this draw graphic

  3. abstract def negX: ShapeGraphicSimple

    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
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  4. abstract def negY: ShapeGraphicSimple

    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
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  5. abstract def prolign(matrix: ProlignMatrix): ShapeGraphicSimple

    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
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  6. abstract def reflect(lineLike: LineLike): ShapeGraphicSimple

    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
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  7. abstract 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
    GraphicElem
  8. abstract def rotate(angle: AngleVec): ShapeGraphicSimple

    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
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  9. abstract def rotate180: ShapeGraphicSimple

    Rotate 180 degrees 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple.

    Rotate 180 degrees 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

    Definition Classes
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  10. abstract def rotate270: ShapeGraphicSimple

    Rotate 270 degrees anti clockwise or rotate 90 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple.

    Rotate 270 degrees anti clockwise or rotate 90 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

    Definition Classes
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  11. abstract def rotate90: ShapeGraphicSimple

    Rotate 90 degrees anti clockwise or rotate 270 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple.

    Rotate 90 degrees anti clockwise or rotate 270 degrees clockwise 2D geometric transformation on a ShapeGraphicSimple, returns a ShapeGraphicSimple. The return type will be narrowed in sub traits / classes.

    Definition Classes
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  12. abstract def scale(operand: Double): ShapeGraphicSimple

    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
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  13. abstract def scaleXY(xOperand: Double, yOperand: Double): ShapeGraphicSimple

    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
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  14. abstract def shape: Shape
    Definition Classes
    ShapeGraphic
  15. abstract def shearX(operand: Double): GraphicBounded

    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
    GraphicBoundedGraphicElemGeomElem
  16. abstract def shearY(operand: Double): GraphicBounded

    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
    GraphicBoundedGraphicElemGeomElem
  17. abstract def slateXY(xDelta: Double, yDelta: Double): ShapeGraphicSimple

    Translate geometric transformation.

    Translate geometric transformation.

    Definition Classes
    ShapeGraphicSimpleGraphicSimpleShapeGraphicGraphicBoundedGraphicElemGeomElem
  18. abstract def svgElem(bounds: BoundingRect): SvgElem
    Definition Classes
    ShapeGraphic
  19. abstract def svgStr: String
    Definition Classes
    ShapeGraphic

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
    ShapeGraphicBoundedElem
  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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def nonShapeAttribs: Arr[XmlAtt]
    Definition Classes
    ShapeDrawShapeGraphicSimple
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def shapeAttribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphic
  24. def strokeAttrib: StrokeAttrib
  25. def strokeWidthAttrib: StrokeWidthAttrib
  26. final def svgInline: String
    Definition Classes
    ShapeGraphic
  27. final def svgJustElem: SvgElem
    Definition Classes
    ShapeGraphic
  28. def svgOut(indent: Int = 0, linePosn: Int = 0, lineLen: Int = 150): String
    Definition Classes
    ShapeGraphic
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def trBounding: Pt2
    Definition Classes
    BoundedElem
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. 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 ShapeGraphicSimple

Inherited from GraphicSimple

Inherited from ShapeGraphic

Inherited from GraphicBounded

Inherited from BoundedElem

Inherited from GraphicElem

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped