Packages

class Bezier extends CurveSeg with AffinePreserve

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bezier
  2. AffinePreserve
  3. SimilarPreserve
  4. ProlignPreserve
  5. CurveSeg
  6. Drawable
  7. GeomElem
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Bezier(startX: Double, startY: Double, xC1: Double, yC1: Double, xC2: Double, yC2: Double, endX: Double, endY: Double)

Type Members

  1. type ThisT = Bezier

    The most narrow type preserved in some 2d geometric transformations.

    The most narrow type preserved in some 2d geometric transformations.

    Definition Classes
    BezierAffinePreserveSimilarPreserveProlignPreserve

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. def draw(colour: Colour = Black, lineWidth: Double = 2): BezierDraw

    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
    BezierDrawable
  7. val 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.

    Definition Classes
    BezierCurveSeg
  8. val 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.

    Definition Classes
    BezierCurveSeg
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def negX: ThisT

    Mirror, reflection 2D geometric transformation across the Y axis by negating X.

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

    Definition Classes
    SimilarPreserveProlignPreserveGeomElem
  16. def negY: ThisT

    Mirror, reflection 2D geometric transformation across the X axis by negating y.

    Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

    Definition Classes
    SimilarPreserveProlignPreserveGeomElem
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def pC1: Pt2
  20. final def pC2: Pt2
  21. 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.

    Definition Classes
    CurveSeg
  22. final def pStart: Pt2

    Start point of this curve segment, often called p1

    Start point of this curve segment, often called p1

    Definition Classes
    CurveSeg
  23. def prolign(matrix: ProlignMatrix): ThisT

    2D Transformation using a ProlignMatrix.

    2D Transformation using a ProlignMatrix. The return type will be narrowed in sub classes / traits.

    Definition Classes
    ProlignPreserveGeomElem
  24. def ptsTrans(f: (Pt2) => Pt2): Bezier

    A method to perform all the ProlignPreserve transformations with a function from PT2 => PT2.

    A method to perform all the ProlignPreserve transformations with a function from PT2 => PT2.

    Definition Classes
    BezierProlignPreserve
  25. def reflect(lineLike: LineLike): ThisT

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

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

    Definition Classes
    SimilarPreserveGeomElem
  26. def rotate(angle: AngleVec): ThisT

    Rotation 2D geometric transformation on a GeomElem.

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

    Definition Classes
    SimilarPreserveGeomElem
  27. def rotate180: ThisT

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

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

    Definition Classes
    SimilarPreserveGeomElem
  28. def rotate270: ThisT

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

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

    Definition Classes
    SimilarPreserveGeomElem
  29. def rotate90: ThisT

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

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

    Definition Classes
    SimilarPreserveGeomElem
  30. def scale(operand: Double): ThisT

    Uniform 2D geometric scaling transformation.

    Uniform 2D geometric 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. The Return type will be narrowed in sub traits / classes.

    Definition Classes
    ProlignPreserveGeomElem
  31. def scaleXY(xOperand: Double, yOperand: Double): ThisT

    Scaling X and Y axes independently, 2D geometric transformation on this GeomElem, returns a new GeomElem.

    Scaling X and Y axes independently, 2D geometric transformation on this GeomElem, returns a new GeomElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

    Definition Classes
    AffinePreserveGeomElem
  32. def shearX(operand: Double): ThisT

    Shear 2D geometric transformation along the X Axis on a GeomElem.

    Shear 2D geometric transformation along the X Axis on a GeomElem. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

    Definition Classes
    AffinePreserveGeomElem
  33. def shearY(operand: Double): ThisT

    Shear 2D geometric transformation along the Y Axis on a GeomElem.

    Shear 2D geometric transformation along the Y Axis on a GeomElem. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

    Definition Classes
    AffinePreserveGeomElem
  34. def slateXY(xDelta: Double, yDelta: Double): ThisT

    Translate 2D geometric transformation, taking the xOffset and yOffset as parameters on this GeomElem returning a GeomElem.

    Translate 2D geometric transformation, taking the xOffset and yOffset as parameters on this GeomElem returning a GeomElem. The Return type will be narrowed in sub traits. End users will often want to use the slate method taking a Pt2 or Vec2 as a parameter, the slateX or the slateY methods. These methods will be offered as extension methods using this method for their implementations.

    Definition Classes
    ProlignPreserveGeomElem
  35. val startX: Double

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

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

    Definition Classes
    BezierCurveSeg
  36. val startY: Double

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

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

    Definition Classes
    BezierCurveSeg
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def typeStr: String
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. val xC1: Double
  44. val xC2: Double
  45. val yC1: Double
  46. val yC2: Double

Deprecated Value Members

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

Inherited from AffinePreserve

Inherited from SimilarPreserve

Inherited from ProlignPreserve

Inherited from CurveSeg

Inherited from Drawable

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped