JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

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

nametypedescription
Public
xNumber

Defines the X coordinate.

More: [+]

Defines the X coordinate.

Profile: common

yNumber

Defines the Y coordinate.

More: [+]

Defines the Y coordinate.

Profile: common

Protected

Inherited Attributes

javafx.scene.geometry.PathElement

nametypedescription
absoluteBoolean More: [+]

Profile: common

Inherited Functions