GWT 2.7.0

com.google.gwt.canvas.dom.client
Enum Context2d.LineJoin

java.lang.Object
  extended by java.lang.Enum<Context2d.LineJoin>
      extended by com.google.gwt.canvas.dom.client.Context2d.LineJoin
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Context2d.LineJoin>
Enclosing class:
Context2d

public static enum Context2d.LineJoin
extends java.lang.Enum<Context2d.LineJoin>

Enum for line-join style.

See Also:
Context2d.setLineJoin(LineJoin)

Enum Constant Summary
BEVEL
           
MITER
           
ROUND
           
 
Method Summary
 java.lang.String getValue()
           
static Context2d.LineJoin valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Context2d.LineJoin[] 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

BEVEL

public static final Context2d.LineJoin BEVEL

MITER

public static final Context2d.LineJoin MITER

ROUND

public static final Context2d.LineJoin ROUND
Method Detail

values

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

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

valueOf

public static Context2d.LineJoin 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

getValue

public java.lang.String getValue()

GWT 2.7.0