|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCodeList<E>
SimpleEnumerationType<FillStyle>
FillStyle
public class FillStyle
Indicates the various methods of filling the interior of objects. This class defines static constants for all of the valid choices. Depending on the choice of fill style, the current color, background color, fill pattern, and gradient points may affect the appearance of an object.
Field Summary | |
---|---|
static FillStyle |
EMPTY
This constant indicates that an object should not be filled at all. |
static FillStyle |
GRADIENT
This constant indicates that an object should be filled with a gradient. |
static FillStyle |
OPAQUE_STIPPLED
This constant indicates that an object should be filled with the fill pattern specified in the GraphicStyle . |
static FillStyle |
SOLID
This constant indicates that an object should be completely filled with the color. |
static FillStyle |
STIPPLED
This constant indicates that an object should be filled with the fill pattern specified in the GraphicStyle . |
Constructor Summary | |
---|---|
protected |
FillStyle(String name,
String description)
Construct a new FillStyle with the given name and description. |
Method Summary | |
---|---|
CodeList[] |
family()
Returns the list of enumerations of the same kind than this enum. |
static FillStyle[] |
values()
Returns the list of FillStyle s. |
Methods inherited from class SimpleEnumerationType |
---|
getDescription, getIcon, getNullIcon, loadIconResource, toString |
Methods inherited from class CodeList |
---|
compareTo, name, ordinal, readResolve |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final FillStyle SOLID
public static final FillStyle EMPTY
public static final FillStyle STIPPLED
GraphicStyle
. The
current foreground color is drawn over pixels that correspond to
pattern pixels that are set. Other pixels are left alone.
(The term "stippled" is taken from the X-Windows documentation.)
public static final FillStyle OPAQUE_STIPPLED
GraphicStyle
. The
current foreground color is drawn over pixels that correspond to
pattern pixels that are set. The current background color is used
for unset pattern pixels. (The term "opaque stippled" is taken
from the X-Windows documentation.)
public static final FillStyle GRADIENT
(gradientPoints[0], gradientPoints[1])and
(gradientPoints[2], gradientPoints[3])which anchor the foreground and background colors, respectively.
Constructor Detail |
---|
protected FillStyle(String name, String description)
DisplayCapabilities.getSupportedFillStyles()
.
name
- a String defining the name of the Arrow pattern.description
- a String describing the pattern.Method Detail |
---|
public static FillStyle[] values()
FillStyle
s.
public CodeList[] family()
family
in class CodeList<FillStyle>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |