Spec-Zone .ru
спецификации, руководства, описания, API

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 coordinate to the new coordinates.

the code:

import javafx.scene.shape.*;

Path {
    elements: [
        MoveTo { x: 0    y: 50 },
        LineTo { x: 100  y: 100},
    ]
}

produces:

Profile: common

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicxNumber0.0

Defines the X coordinate.

publicyNumber0.0

Defines the Y coordinate.

Inherited Variables

javafx.scene.shape.PathElement

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicabsoluteBooleantrue

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.

true

Profile: common

 

Inherited Functions