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

nametypedescription
Public
smoothBoolean
x1Number

the x coordinate of the first Béezier control point

x2Number

the x coordinate of the second Béezier control point

x3Number

the x coordinate of the final endpoint

y1Number

the y coordinate of the first Béezier control point

y2Number

the y coordinate of the second Béezier control point

y3Number

the y coordinate of the final endpoint

Protected

Inherited Attributes

javafx.ui.canvas.PathElement

publicnametype
absoluteBoolean

javafx.ui.canvas.AbstractPathElement

publicnametype
pathPath

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

Functions