org.deegree.style.styling.components
Enum Stroke.LineCap
java.lang.Object
java.lang.Enum<Stroke.LineCap>
org.deegree.style.styling.components.Stroke.LineCap
- All Implemented Interfaces:
- Serializable, Comparable<Stroke.LineCap>
- Enclosing class:
- Stroke
public static enum Stroke.LineCap
- extends Enum<Stroke.LineCap>
LineCap
- Version:
- $Revision: 21366 $, $Date: 2009-12-10 14:03:38 +0100 (Thu, 10 Dec 2009) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Method Summary |
static Stroke.LineCap |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Stroke.LineCap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
BUTT
public static final Stroke.LineCap BUTT
ROUND
public static final Stroke.LineCap ROUND
SQUARE
public static final Stroke.LineCap SQUARE
values
public static Stroke.LineCap[] 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 (Stroke.LineCap c : Stroke.LineCap.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Stroke.LineCap 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 name
NullPointerException
- if the argument is null
Copyright © 2011. All Rights Reserved.