net.sf.jcgm.core
Enum JoinIndicator

java.lang.Object
  extended by java.lang.Enum<JoinIndicator>
      extended by net.sf.jcgm.core.JoinIndicator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JoinIndicator>

public enum JoinIndicator
extends java.lang.Enum<JoinIndicator>

Version:
$Id: JoinIndicator.java 46 2011-12-14 08:26:44Z phica $
Author:
xphc (Philippe Cadé)

Enum Constant Summary
BEVEL
           
MITRE
           
ROUND
           
UNSPECIFIED
           
 
Method Summary
 int getBasicStrokeConstant()
           
static JoinIndicator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JoinIndicator[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNSPECIFIED

public static final JoinIndicator UNSPECIFIED

MITRE

public static final JoinIndicator MITRE

ROUND

public static final JoinIndicator ROUND

BEVEL

public static final JoinIndicator BEVEL
Method Detail

values

public static JoinIndicator[] 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 (JoinIndicator c : JoinIndicator.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JoinIndicator valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getBasicStrokeConstant

public int getBasicStrokeConstant()


Part of the jcgm library http://jcgm.sourceforge.net/