Overview
Creates a curved path element, defined by two new points,
by drawing a Quadratic curve that intersects both the current coordinates
and the specified coordinates (x, y)
,
using the specified point (controlX, controlY)
as a quadratic parametric control point.
All coordinates are specified in double precision.
the code:
import javafx.scene.geometry.*;
import javafx.scene.paint.*;
Path {
stroke:Color.BLACK
elements: [
MoveTo { x: 0 y: 50 },
QuadTo {
controlX: 25.0
controlY: 0.0
x: 50.0
y: 50.0
}
]
}
produces:
Profile: common
Attribute Summary
name | type | description |
---|---|---|
Public | ||
controlX | Number |
Defines the X coordinate of the quadratic control point. More: [+]Defines the X coordinate of the quadratic control point. Profile: common |
controlY | Number |
Defines the Y coordinate of the quadratic control point. More: [+]Defines the Y coordinate of the quadratic control point. Profile: common |
x | Number |
Defines the X coordinate of the final end point. More: [+]Defines the X coordinate of the final end point. Profile: common |
y | Number |
Defines the Y coordinate of the final end point. More: [+]Defines the Y coordinate of the final end point. Profile: common |
Protected |
Inherited Attributes
javafx.scene.geometry.PathElement
name | type | description |
---|---|---|
absolute | Boolean |
More: [+]
Profile: common |