QuadCurve
QuadCurve
A representation of a QuadCurve shape.
Constructor
public QuadCurve
new QuadCurve(p1, p2, c)
Constructor for QuadCurve.
Parameters
p1: Vector
– The start point.p2: Vector
– The end point.c: Vector
– The control point.
Properties
No publicly accessible properties on QuadCurve
private p1: Vector
Description needed
private p2: Vector
Description needed
private c: Vector
Description needed
Methods
public draw
draw(ctx) => void
Draws the QuadCurve on the canvas.
Parameters
-
ctx: CanvasRenderingContext2D
– Provides the 2D rendering context for the drawing surface of an element.
Static Methods
No static methods for QuadCurve