BezierDraw

case class BezierDraw(curveSeg: Bezier, colour: Colour, lineWidth: Double) extends CurveSegDraw with GraphicAffineElem with CanvElem

Functional class for Drawing a cubic Bezier curve.

Companion
object
trait Serializable
trait Product
trait Equals
trait CanvElem
trait GeomElem
class Object
trait Matchable
class Any

Type members

Types

override type ThisT = BezierDraw

Value members

Concrete methods

final def pC1: Pt2
final def pC2: Pt2
override def ptsTrans(f: Pt2 => Pt2): BezierDraw
Definition Classes
override def rendToCanvas(cp: CanvasPlatform): Unit
Definition Classes
def typeStr: String
def xC1: Double
def xC2: Double
def yC1: Double
def yC2: Double

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. Often called p2 on a line or p4 on a cubic bezier.

The end point. Often called p2 on a line or p4 on a cubic bezier.

Inherited from
CurveSegGraphic
final def pStart: Pt2

Start point often called p1

Start point often called p1

Inherited from
CurveSegGraphic
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override def prolign(matrix: ProlignMatrix): ThisT
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 def rotate180: ThisT
Definition Classes
Inherited from
SimilarPreserve
override def rotate270: ThisT
Definition Classes
Inherited from
SimilarPreserve
override def rotate90: ThisT
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
def xEnd: Double

the x component of the end point.

the x component of the end point.

Inherited from
CurveSegGraphic
def xStart: Double

the x component of the start point often called x1

the x component of the start point often called x1

Inherited from
CurveSegGraphic
def yEnd: Double

the y component of the end point.

the y component of the end point.

Inherited from
CurveSegGraphic
def yStart: Double

the y component of the start point often called y1

the y component of the start point often called y1

Inherited from
CurveSegGraphic