- java.lang.Object
-
- java.lang.Enum<Path2D.ArcType>
-
- org.arakhne.afc.math.geometry.d2.Path2D.ArcType
-
- All Implemented Interfaces:
Serializable
,Comparable<Path2D.ArcType>
- Enclosing interface:
- Path2D<ST extends Shape2D<?,?,I,P,V,B>,IT extends Path2D<?,?,I,P,V,B>,I extends PathIterator2D<?>,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Shape2D<?,?,I,P,V,B>>
public static enum Path2D.ArcType extends Enum<Path2D.ArcType>
Type of drawing to used when drawing an arc.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARC_ONLY
Draw only the ellipse arc.LINE_THEN_ARC
Draw a line to and the ellipse arc.MOVE_THEN_ARC
Move to and draw the ellipse arc.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Path2D.ArcType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Path2D.ArcType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARC_ONLY
public static final Path2D.ArcType ARC_ONLY
Draw only the ellipse arc.
-
MOVE_THEN_ARC
public static final Path2D.ArcType MOVE_THEN_ARC
Move to and draw the ellipse arc.
-
LINE_THEN_ARC
public static final Path2D.ArcType LINE_THEN_ARC
Draw a line to and the ellipse arc.
-
-
Method Detail
-
values
public static Path2D.ArcType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Path2D.ArcType c : Path2D.ArcType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Path2D.ArcType valueOf(String name)
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
-
-