Top Description Fields Constructors Methods
javafx.scene.shape

public abstract Class PathElement

extends Object
Class Inheritance
Known Direct Subclasses
javafx.scene.shape.QuadCurveTo, javafx.scene.shape.VLineTo, javafx.scene.shape.ArcTo, javafx.scene.shape.ClosePath, javafx.scene.shape.CubicCurveTo, javafx.scene.shape.HLineTo, javafx.scene.shape.LineTo, javafx.scene.shape.MoveTo
Imports
com.sun.javafx.util.WeakReferenceQueue, com.sun.javafx.scene.shape.PathElementHelper, com.sun.javafx.sg.prism.NGPath, javafx.beans.property.BooleanProperty, .BooleanPropertyBase, javafx.scene.Node, java.util.Iterator

The PathElement class represents an abstract element of the Path that can represent any geometric objects like straight lines, arcs, quadratic curves, cubic curves, etc.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
private BooleanProperty
absolute

A flag that indicates whether the path coordinates are absolute or relative.

pack-priv WeakReferenceQueue<E>
nodes

Defines the sequence of Path objects this path element is attached to.

private PathElementHelper

Constructor Summary

AccessConstructor and Description
public
PathElement()

Constructor for subclasses to call.

Method Summary

Modifier and TypeMethod and Description
public final BooleanProperty
pack-priv void
addNode(final Node n)

pack-priv abstract void
addTo(NGPath pgPath)

public final boolean
pack-priv void
removeNode(final Node n)

public final void
setAbsolute(boolean value)

pack-priv void
u()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

absoluteback to summary
private BooleanProperty absolute

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.

Default Value
true
nodesback to summary
pack-priv WeakReferenceQueue<E> nodes

Defines the sequence of Path objects this path element is attached to.

pathElementHelperback to summary
private PathElementHelper pathElementHelper

Constructor Detail

PathElementback to summary
public PathElement()

Constructor for subclasses to call.

Method Detail

absolutePropertyback to summary
public final BooleanProperty absoluteProperty()
addNodeback to summary
pack-priv void addNode(final Node n)
addToback to summary
pack-priv abstract void addTo(NGPath pgPath)
isAbsoluteback to summary
public final boolean isAbsolute()
removeNodeback to summary
pack-priv void removeNode(final Node n)
setAbsoluteback to summary
public final void setAbsolute(boolean value)
uback to summary
pack-priv void u()