Package javafx.scene.shape
Enum ArcType
- All Implemented Interfaces:
Serializable
,Comparable<ArcType>
ArcType
specifies the closure type for Arc
objects.- Since:
- JavaFX 2.0
-
Enum Constant Summary
Enum ConstantDescriptionThe closure type for an arc closed by drawing a straight line segment from the start of the arc segment to the end of the arc segment.The closure type for an open arc with no path segments connecting the two ends of the arc segment.The closure type for an arc closed by drawing straight line segments from the start of the arc segment to the center of the full ellipse and from that point to the end of the arc segment. -
Method Summary
-
Enum Constant Details
-
OPEN
The closure type for an open arc with no path segments connecting the two ends of the arc segment. -
CHORD
The closure type for an arc closed by drawing a straight line segment from the start of the arc segment to the end of the arc segment. -
ROUND
The closure type for an arc closed by drawing straight line segments from the start of the arc segment to the center of the full ellipse and from that point to the end of the arc segment.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-