public enum RectanglePainter extends java.lang.Enum<RectanglePainter> implements RegionPainter<java.lang.Integer>
RegionPainter.Alpha, RegionPainter.Image| Modifier and Type | Method and Description | 
|---|---|
static void | 
paint(java.awt.Graphics2D g,
     int x,
     int y,
     int width,
     int height,
     int arc,
     java.awt.Paint fill,
     java.awt.Paint draw)  | 
static RectanglePainter | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static RectanglePainter[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfpaintpublic static final RectanglePainter DRAW
public static final RectanglePainter FILL
public static RectanglePainter[] values()
for (RectanglePainter c : RectanglePainter.values()) System.out.println(c);
public static RectanglePainter 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 nullpublic static void paint(java.awt.Graphics2D g,
                         int x,
                         int y,
                         int width,
                         int height,
                         int arc,
                         java.awt.Paint fill,
                         java.awt.Paint draw)