Overview
Adds a curved segment, defined by three new points, to the path by drawing a Bézier curve that intersects both the current coordinates and the coordinates (x3, y3), using the specified points (x1, y1) and (x2, y2) as Bézier control points.
Attribute Summary
name | type | description |
---|---|---|
Public | ||
smooth | Boolean | |
x1 | Number |
the x coordinate of the first Béezier control point |
x2 | Number |
the x coordinate of the second Béezier control point |
x3 | Number |
the x coordinate of the final endpoint |
y1 | Number |
the y coordinate of the first Béezier control point |
y2 | Number |
the y coordinate of the second Béezier control point |
y3 | Number |
the y coordinate of the final endpoint |
Protected |
Inherited Attributes
javafx.ui.canvas.PathElement
public | name | type |
---|---|---|
absolute | Boolean |
javafx.ui.canvas.AbstractPathElement
public | name | type |
---|---|---|
path | Path |
Function Summary
- public addTo(gp: GeneralPath, ) : Void
Inherited Functions
javafx.ui.canvas.AbstractPathElement
- protected abstract addTo(gp: GeneralPath, ) : Void
Attributes
public x1: Number
the x coordinate of the first Béezier control point
public x2: Number
the x coordinate of the second Béezier control point
public x3: Number
the x coordinate of the final endpoint
public y1: Number
the y coordinate of the first Béezier control point
public y2: Number
the y coordinate of the second Béezier control point
public y3: Number
the y coordinate of the final endpoint