org.opengis.go.display.style
Class FillStyle
- java.lang.Object
-
- org.opengis.util.CodeList<E>
-
- org.opengis.util.SimpleEnumerationType<FillStyle>
-
- org.opengis.go.display.style.FillStyle
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FillStyle>
public class FillStyle extends SimpleEnumerationType<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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static FillStyleEMPTYThis constant indicates that an object should not be filled at all.static FillStyleGRADIENTThis constant indicates that an object should be filled with a gradient.static FillStyleOPAQUE_STIPPLEDThis constant indicates that an object should be filled with the fill pattern specified in theGraphicStyle.static FillStyleSOLIDThis constant indicates that an object should be completely filled with the color.static FillStyleSTIPPLEDThis constant indicates that an object should be filled with the fill pattern specified in theGraphicStyle.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description CodeList[]family()Returns the list of enumerations of the same kind than this enum.static FillStyle[]values()Returns the list ofFillStyles.-
Methods inherited from class org.opengis.util.SimpleEnumerationType
getDescription, getIcon, getNullIcon, toString
-
-
-
-
Field Detail
-
SOLID
public static final FillStyle SOLID
This constant indicates that an object should be completely filled with the color.
-
EMPTY
public static final FillStyle EMPTY
This constant indicates that an object should not be filled at all.
-
STIPPLED
public static final FillStyle STIPPLED
This constant indicates that an object should be filled with the fill pattern specified in theGraphicStyle. 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.)
-
OPAQUE_STIPPLED
public static final FillStyle OPAQUE_STIPPLED
This constant indicates that an object should be filled with the fill pattern specified in theGraphicStyle. 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.)
-
GRADIENT
public static final FillStyle GRADIENT
This constant indicates that an object should be filled with a gradient. The gradient will be a smooth acyclic transition from the current foreground color to the current background color. The orientation and size of the gradient are determined by the anchor points(gradientPoints[0], gradientPoints[1])
and(gradientPoints[2], gradientPoints[3])
which anchor the foreground and background colors, respectively.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG