Class FillPattern
- java.lang.Object
-
- org.opengis.util.CodeList<E>
-
- org.opengis.util.SimpleEnumerationType<FillPattern>
-
- org.opengis.go.display.style.FillPattern
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FillPattern>
public class FillPattern extends SimpleEnumerationType<FillPattern>
Indicates the various fill patterns. This class defines static constants for all of the standard choices. Depending on the choice of fill style, the current foreground color, background color, fill pattern, and gradient points may affect the appearance of an object.An implementation is not required to implement the entire list of available fill patterns. At runtime, the list of implemented patterns can be retrieved from a
DisplayCapabilitiesobject (that was itself retrieved from aCanvas). An implementation may also implement other patterns not listed here.NOTE: Two different implementations may have fill patterns with the same name, but use different
FillPatterninstances (since they may not know about each others name use). If clients need to use the file pattern to find a fill pattern they should search the array returned bygetSupportedFillPatterns()from theDisplayCapabilitiesinstance associated with the correct provider.This list was compiled by examining the behavior of various software packages. Where possible, a reference document is given. For others, a description of the style is given.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static FillPatternDOTSRegularly spaced single pixels.static FillPatternFILL_25_PERCENT25% fill.static FillPatternFILL_50_PERCENT50% fill.static FillPatternFILL_75_PERCENT75% fill.static FillPatternHORIZONTAL_LINESParallel horizontal lines.static FillPatternNEGATIVE_SLANTSParallel slanted lines running from upper left to lower right.static FillPatternNONENo fill pattern.static FillPatternPLUSSESSmall closely spaced '+' marks.static FillPatternPOSITIVE_SLANTSParallel slanted lines running from lower left to upper right.static FillPatternVERTICAL_LINESParallel vertical lines.static FillPatternXHATCHTwo series of intersecting parallel lines.
-
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 FillPattern[]values()Returns the list ofFillPatterns.-
Methods inherited from class org.opengis.util.SimpleEnumerationType
getDescription, getIcon, getNullIcon, toString
-
-
-
-
Field Detail
-
NONE
public static final FillPattern NONE
No fill pattern.
-
DOTS
public static final FillPattern DOTS
Regularly spaced single pixels.
-
VERTICAL_LINES
public static final FillPattern VERTICAL_LINES
Parallel vertical lines.
-
HORIZONTAL_LINES
public static final FillPattern HORIZONTAL_LINES
Parallel horizontal lines.
-
NEGATIVE_SLANTS
public static final FillPattern NEGATIVE_SLANTS
Parallel slanted lines running from upper left to lower right.
-
POSITIVE_SLANTS
public static final FillPattern POSITIVE_SLANTS
Parallel slanted lines running from lower left to upper right.
-
PLUSSES
public static final FillPattern PLUSSES
Small closely spaced '+' marks.
-
XHATCH
public static final FillPattern XHATCH
Two series of intersecting parallel lines.
-
FILL_25_PERCENT
public static final FillPattern FILL_25_PERCENT
25% fill. Can be used to simulate transparency.
-
FILL_50_PERCENT
public static final FillPattern FILL_50_PERCENT
50% fill. Can be used to simulate transparency.
-
FILL_75_PERCENT
public static final FillPattern FILL_75_PERCENT
75% fill. Can be used to simulate transparency.
-
-
Method Detail
-
values
public static FillPattern[] values()
Returns the list ofFillPatterns.
-
family
public CodeList[] family()
Returns the list of enumerations of the same kind than this enum.- Specified by:
familyin classCodeList<FillPattern>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG