Bezier

class Bezier(val startX: Double, val startY: Double, val xC1: Double, val yC1: Double, val xC2: Double, val yC2: Double, val endX: Double, val endY: Double) extends CurveSeg with AffinePreserve

Cubic bezier curve.

Companion
object
trait CurveSeg
trait Drawable
trait GeomElem
class Object
trait Matchable
class Any

Type members

Types

override
type ThisT = Bezier

Value members

Concrete methods

def draw(colour: Colour, lineWidth: Double): BezierDraw
final
def pC1: Pt2
final
def pC2: Pt2
def ptsTrans(f: Pt2 => Pt2): Bezier
def typeStr: String

Inherited methods

override
def negX: ThisT
Definition Classes
Inherited from
SimilarPreserve
override
def negY: ThisT
Definition Classes
Inherited from
SimilarPreserve
final
def pEnd: Pt2

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

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

Inherited from
CurveSeg
final
def pStart: Pt2

Start point of this curve segment, often called p1

Start point of this curve segment, often called p1

Inherited from
CurveSeg
override
Definition Classes
Inherited from
ProlignPreserve
override
def reflect(lineLike: LineLike): ThisT
Definition Classes
Inherited from
SimilarPreserve
override
def rotate(angle: AngleVec): ThisT
Definition Classes
Inherited from
SimilarPreserve
override
Definition Classes
Inherited from
SimilarPreserve
override
Definition Classes
Inherited from
SimilarPreserve
override
Definition Classes
Inherited from
SimilarPreserve
override
def scale(operand: Double): ThisT
Definition Classes
Inherited from
ProlignPreserve
override
def scaleXY(xOperand: Double, yOperand: Double): ThisT
Definition Classes
Inherited from
AffinePreserve
override
def shearX(operand: Double): ThisT
Definition Classes
Inherited from
AffinePreserve
override
def shearY(operand: Double): ThisT
Definition Classes
Inherited from
AffinePreserve
override
def slateXY(xDelta: Double, yDelta: Double): ThisT
Definition Classes
Inherited from
ProlignPreserve

Concrete fields

val endX: Double
val endY: Double
val startX: Double
val startY: Double
val xC1: Double
val xC2: Double
val yC1: Double
val yC2: Double