Overview
Creates an addition to the path by moving to the specified coordinates. Example:
the code:
import javafx.scene.shape.*;
Path {
elements: [
MoveTo { x: 0 y: 0 },
LineTo { x: 100 y: 100},
]
}
produces:
Profile: common
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | x | Number | 0.0 |
Defines the specified X coordinate. |
|||
public | y | Number | 0.0 |
Defines the specified Y coordinate. |
Inherited Variables
javafx.scene.shape.PathElement
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | absolute | Boolean | true |
A flag that indicates whether the path coordinates are absolute or relative. A flag that indicates whether the path coordinates are absolute or relative. A value of true indicates that the coordinates are absolute values. A value of false indicates that the values in this PathElement are added to the coordinates of the previous PathElement to compute the actual coordinates. trueProfile: common |