public enum PaintPrimitives extends java.lang.Enum<PaintPrimitives>
WARNING: It is safest and easiest to add to the end of this list. The reason is that the enum ordinal is being used directly at the driver level for encoding drawing operations. If you add in the middle of the list of values, then that value and all following ones will have their ordinals changed and the downstream code will break. You may add to the middle so long as YOU fix up the downstream usage!
WARNING: If there are ever more than 256 values in this enum, it will break downstream code that assumes the ordinal will fit in an octet.
Modifier and Type | Method and Description |
---|---|
static PaintPrimitives |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaintPrimitives[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaintPrimitives DRAW_STRING
public static final PaintPrimitives DRAW_STRING_SCALED
public static final PaintPrimitives DRAW_PARAGRAPH
public static final PaintPrimitives DRAW_RECT
public static final PaintPrimitives DRAW_ROUND_RECT
public static final PaintPrimitives DRAW_IMAGE
public static final PaintPrimitives FILL_RECT
public static final PaintPrimitives FILL_ROUND_RECT
public static final PaintPrimitives FILL_POLYGON
public static final PaintPrimitives DRAW_LINE
public static final PaintPrimitives DRAW_3D_RECT
public static final PaintPrimitives FILL_3D_RECT
public static final PaintPrimitives SET_COLOR
public static final PaintPrimitives SET_LINE_STROKE
public static final PaintPrimitives SET_FONT
public static final PaintPrimitives SET_FONT_STYLE
public static final PaintPrimitives TRANSLATE_PUSH
public static final PaintPrimitives TRANSLATE_POP
public static final PaintPrimitives CLEAR
public static final PaintPrimitives CLEAR_AREA
public static final PaintPrimitives NO_CLIP
public static final PaintPrimitives CLIP
public static final PaintPrimitives FLUSH
public static final PaintPrimitives SET_LOCATION
public static final PaintPrimitives RESIZE_WINDOW
public static final PaintPrimitives SET_WINDOW_BOUNDS
public static final PaintPrimitives DRAW_HIGHLIGHT
public static final PaintPrimitives CLEAR_HIGHLIGHT
public static final PaintPrimitives START_BATCH
public static final PaintPrimitives END_BATCH
public static final PaintPrimitives SET_TITLE
public static final PaintPrimitives SET_ICON
public static final PaintPrimitives SET_XOR_COMPOSITE
public static final PaintPrimitives RESET_COMPOSITE
public static final PaintPrimitives START_RECORDING
public static final PaintPrimitives STOP_RECORDING
public static final PaintPrimitives DRAW_CACHED
public static final PaintPrimitives SET_DESKTOP_BGCOLOR
public static final PaintPrimitives SET_XOR_MODE
public static final PaintPrimitives DRAW_SELECTION
public static final PaintPrimitives RESET_SELECTION
public static PaintPrimitives[] values()
for (PaintPrimitives c : PaintPrimitives.values()) System.out.println(c);
public static PaintPrimitives valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null