public enum ArcType extends Enum<ArcType>
ArcType
specifies the closure type for Arc
objects.Enum Constant and Description |
---|
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.
|
OPEN
The closure type for an open arc with no path segments connecting
the two ends 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.
|
Modifier and Type | Method and Description |
---|---|
static ArcType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArcType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArcType OPEN
public static final ArcType CHORD
public static final ArcType ROUND
public static ArcType[] values()
for (ArcType c : ArcType.values()) System.out.println(c);
public static ArcType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.