Overview
Creates a line path element by drawing a straight line from the current coordinateS to the new coordinates.
the code:
import javafx.scene.geometry.*;
import javafx.scene.paint.*;
Path {
stroke:Color.BLACK
elements: [
MoveTo { x: 0 y: 50 },
LineTo { x: 100 y: 100},
]
}
produces:
Profile: common
This comment needs review.
Attribute Summary
name | type | description |
---|---|---|
Public | ||
x | Number |
Defines the X coordinate. More: [+]Defines the X coordinate. Profile: common |
y | Number |
Defines the Y coordinate. More: [+]Defines the Y coordinate. Profile: common |
Protected |
Inherited Attributes
javafx.scene.geometry.PathElement
name | type | description |
---|---|---|
absolute | Boolean |
More: [+]
Profile: common |