Packages

trait CurveSeg extends Drawable

A segment of a curve that could be used in a closed shape or curve path. The names start and end are used in CurveSeg and its sub classes to provide consistent naming across line segments LineSegs, circular arcs CArcs, elliptical arcs EArcs and Square and cubic beziers Beziers, which require different numbers of points in their specification.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CurveSeg
  2. Drawable
  3. GeomElem
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def draw(lineColour: Colour = Black, lineWidth: Double = 2): GraphicElem

    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
    Drawable
  2. abstract def endX: Double

    The X component of the end point of this curve segment.

    The X component of the end point of this curve segment. Often called x2 on a line or x4 on a cubic bezier in other APIs.

  3. abstract def endY: Double

    The Y component of the end point of this curve segment.

    The Y component of the end point of this curve segment. Often called y2 on a line or y4 on a cubic bezier in other APIs.

  4. abstract def negX: CurveSeg

    Mirror, reflection 2D geometric transformation across the Y axis by negating X, on this CurveSeg, returns a CurveSeg.

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

    Definition Classes
    CurveSegDrawableGeomElem
  5. abstract def negY: CurveSeg

    Mirror, reflection 2D geometric transformation across the X axis by negating Y, on this CurveSeg, returns a CurveSeg.

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

    Definition Classes
    CurveSegDrawableGeomElem
  6. abstract def prolign(matrix: ProlignMatrix): CurveSeg

    2D Transformation using a ProlignMatrix, on this CurveSeg, returns a CurveSeg.

    2D Transformation using a ProlignMatrix, on this CurveSeg, returns a CurveSeg. The return type will be narrowed in sub classes / traits.

    Definition Classes
    CurveSegDrawableGeomElem
  7. abstract def reflect(lineLike: LineLike): CurveSeg

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

    Reflect 2D geometric transformation across a line, line segment or ray, on this CurveSeg, returns a CurveSeg. The return type will be narrowed in sub classes and traits.

    Definition Classes
    CurveSegDrawableGeomElem
  8. abstract def rotate(angle: AngleVec): CurveSeg

    Rotation 2D geometric transformation on a GeomElem, on this CurveSeg, returns a CurveSeg.

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

    Definition Classes
    CurveSegDrawableGeomElem
  9. abstract def rotate180: CurveSeg

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

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

    Definition Classes
    CurveSegDrawableGeomElem
  10. abstract def rotate270: CurveSeg

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

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

    Definition Classes
    CurveSegDrawableGeomElem
  11. abstract def rotate90: CurveSeg

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

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

    Definition Classes
    CurveSegDrawableGeomElem
  12. abstract def scale(operand: Double): CurveSeg

    Uniform 2D geometric scaling transformation, on this CurveSeg, returns a CurveSeg.

    Uniform 2D geometric scaling transformation, on this CurveSeg, returns a CurveSeg. The Return type will be narrowed in sub traits / classes.

    Definition Classes
    CurveSegDrawableGeomElem
  13. abstract def scaleXY(xOperand: Double, yOperand: Double): CurveSeg

    XY scaling 2D geometric transformation, on this CurveSeg, returns a CurveSeg.

    XY scaling 2D geometric transformation, on this CurveSeg, returns a CurveSeg. The return type will be narrowed in sub classes and traits.

    Definition Classes
    CurveSegDrawableGeomElem
  14. abstract def shearX(operand: Double): CurveSeg

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

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

    Definition Classes
    CurveSegDrawableGeomElem
  15. abstract def shearY(operand: Double): CurveSeg

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

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

    Definition Classes
    CurveSegDrawableGeomElem
  16. abstract def slateXY(xDelta: Double, yDelta: Double): CurveSeg

    Translate 2D geometric transformation, on this CurveSeg, returns a CurveSeg.

    Translate 2D geometric transformation, on this CurveSeg, returns a CurveSeg. The Return type will be narrowed in sub traits.

    Definition Classes
    CurveSegDrawableGeomElem
  17. abstract def startX: Double

    The X component of the start point of this curve segment often called x1 in other APIs.

  18. abstract def startY: Double

    The Y component of the start point of this curve segment, often called y1 in other APIs.

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def pEnd: Pt2

    The end point Pt2 of this curve segment.

    The end point Pt2 of this curve segment. Often called p2 on a line or p4 on a cubic bezier in other APIs.

  15. final def pStart: Pt2

    Start point of this curve segment, often called p1

  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. 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 Drawable

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped