Class PathElement
java.lang.Object
javafx.scene.shape.PathElement
- Direct Known Subclasses:
ArcTo,ClosePath,CubicCurveTo,HLineTo,LineTo,MoveTo,QuadCurveTo,VLineTo
-
Property Summary
PropertiesTypePropertyDescriptionfinal BooleanPropertyA flag that indicates whether the path coordinates are absolute or relative. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanPropertyA flag that indicates whether the path coordinates are absolute or relative.final booleanGets the value of theabsoluteproperty.final voidsetAbsolute(boolean value) Sets the value of theabsoluteproperty.
-
Property Details
-
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
- See Also:
-
-
Constructor Details
-
PathElement
public PathElement()Constructor for subclasses to call.
-
-
Method Details
-
setAbsolute
public final void setAbsolute(boolean value) Sets the value of theabsoluteproperty.- 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
- Parameters:
value- the value for theabsoluteproperty- See Also:
-
isAbsolute
public final boolean isAbsolute()Gets the value of theabsoluteproperty.- 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
- Returns:
- the value of the
absoluteproperty - See Also:
-
absoluteProperty
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
- Returns:
- the
absoluteproperty - See Also:
-