java.lang.Object
javafx.scene.shape.PathElement
- Direct Known Subclasses:
- ArcTo,- ClosePath,- CubicCurveTo,- HLineTo,- LineTo,- MoveTo,- QuadCurveTo,- VLineTo
public abstract class PathElement extends Object
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
- 
Property SummaryProperties Type Property Description BooleanPropertyabsoluteA flag that indicates whether the path coordinates are absolute or relative.
- 
Constructor SummaryConstructors Constructor Description PathElement()Constructor for subclasses to call.
- 
Method SummaryModifier and Type Method Description BooleanPropertyabsoluteProperty()A flag that indicates whether the path coordinates are absolute or relative.booleanisAbsolute()Gets the value of the property absolute.voidsetAbsolute(boolean value)Sets the value of the property absolute.
- 
Property Details- 
absoluteA 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
- See Also:
- isAbsolute(),- setAbsolute(boolean)
 
 
- 
- 
Constructor Details- 
PathElementpublic PathElement()Constructor for subclasses to call.
 
- 
- 
Method Details- 
setAbsolutepublic final void setAbsolute(boolean value)Sets the value of the property absolute.- Property description:
- 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
 
- 
isAbsolutepublic final boolean isAbsolute()Gets the value of the property absolute.- Property description:
- 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
 
- 
absolutePropertyA 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
- See Also:
- isAbsolute(),- setAbsolute(boolean)
 
 
-