Overview

Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates (x, y).

Attribute Summary

nametypedescription
Public
xNumber

the x coordinate of the point

yNumber

the y coordinate of the point

Protected

Inherited Attributes

javafx.ui.canvas.PathElement

publicnametype
absoluteBoolean

javafx.ui.canvas.AbstractPathElement

publicnametype
pathPath

Function Summary

public addTo(gp: GeneralPath, ) : Void

Inherited Functions

javafx.ui.canvas.AbstractPathElement

protected abstract addTo(gp: GeneralPath, ) : Void

Attributes

public x: Number

the x coordinate of the point

public y: Number

the y coordinate of the point

Functions