org.opengis.go.display.style
Interface Fill
-
public interface FillTheFillinterface encapsulates the drawing attributes that can be applied to fills on line Graphics and closed Graphics.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringBACKGROUND_COLORFill background color attribute name.static java.lang.StringCOLORFill color attribute name.static java.lang.StringFILL_PATTERNFill pattern attribute name.static java.lang.StringFILL_STYLEFill style attribute name.static java.lang.StringGRADIENT_POINTSHalo fill gradient attribute name.static java.lang.StringOPACITYFill opacity attribute name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.awt.ColorgetBackgroundColor()Returns the fill background color value.java.awt.ColorgetColor()Returns the fill color value.FillPatterngetFillPattern()Returns the fill pattern value.FillStylegetFillStyle()Returns the fill style value.float[]getGradientPoints()Returns the fill gradient points value.floatgetOpacity()Returns the fill opacity value.booleanisBackgroundColorSet()Returns whether the fill background color value has been set.booleanisColorSet()Returns whether the fill color value has been set.booleanisFillPatternSet()Returns whether the fill pattern value has been set.booleanisFillStyleSet()Returns whether the fill style value has been set.booleanisGradientPointsSet()Returns whether the fill gradient points value has been set.booleanisOpacitySet()Returns whether the fill opacity value has been set.voidsetBackgroundColor(java.awt.Color fillBackgroundColor)Sets the fill background color value.voidsetBackgroundColorSet(boolean flag)Sets the fact that the fill background color value has been set.voidsetColor(java.awt.Color fillColor)Sets the fill color value.voidsetColorSet(boolean flag)Sets the fact that the fill color value has been set.voidsetFillPattern(FillPattern fillPattern)Sets the fill pattern value.voidsetFillPatternSet(boolean flag)Sets the fact that the fill pattern value has been set.voidsetFillStyle(FillStyle fillStyle)Sets the fill style value.voidsetFillStyleSet(boolean flag)Sets the fact that the fill style value has been set.voidsetGradientPoints(float[] fillGradientPoints)Sets the fill gradient points value.voidsetGradientPointsSet(boolean flag)Sets the fact that the fill gradient points value has been set.voidsetOpacity(float fillOpacity)Sets the fill opacity value.voidsetOpacitySet(boolean flag)Sets the fact that the fill opacity value has been set.
-
-
-
Field Detail
-
COLOR
static final java.lang.String COLOR
Fill color attribute name.- See Also:
- Constant Field Values
-
BACKGROUND_COLOR
static final java.lang.String BACKGROUND_COLOR
Fill background color attribute name.- See Also:
- Constant Field Values
-
GRADIENT_POINTS
static final java.lang.String GRADIENT_POINTS
Halo fill gradient attribute name.- See Also:
- Constant Field Values
-
OPACITY
static final java.lang.String OPACITY
Fill opacity attribute name.- See Also:
- Constant Field Values
-
FILL_PATTERN
static final java.lang.String FILL_PATTERN
Fill pattern attribute name.- See Also:
- Constant Field Values
-
FILL_STYLE
static final java.lang.String FILL_STYLE
Fill style attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getColor
java.awt.Color getColor()
Returns the fill color value.- Returns:
- the fill color value.
-
isColorSet
boolean isColorSet()
Returns whether the fill color value has been set.- Returns:
- true if the fill color value has been set, false otherwise.
-
setColor
void setColor(java.awt.Color fillColor)
Sets the fill color value.- Parameters:
fillColor- the fill color value.
-
setColorSet
void setColorSet(boolean flag)
Sets the fact that the fill color value has been set.- Parameters:
flag- true if the fill color value has been set, false otherwise.
-
getBackgroundColor
java.awt.Color getBackgroundColor()
Returns the fill background color value.- Returns:
- the fill background color value.
-
isBackgroundColorSet
boolean isBackgroundColorSet()
Returns whether the fill background color value has been set.- Returns:
- true if the fill background color value has been set, false otherwise.
-
setBackgroundColor
void setBackgroundColor(java.awt.Color fillBackgroundColor)
Sets the fill background color value.- Parameters:
fillBackgroundColor- the fill background color value.
-
setBackgroundColorSet
void setBackgroundColorSet(boolean flag)
Sets the fact that the fill background color value has been set.- Parameters:
flag- true if the fill background color value has been set, false otherwise.
-
getGradientPoints
float[] getGradientPoints()
Returns the fill gradient points value.- Returns:
- the fill gradient points value.
-
isGradientPointsSet
boolean isGradientPointsSet()
Returns whether the fill gradient points value has been set.- Returns:
- true if the fill gradient points value has been set, false otherwise.
-
setGradientPoints
void setGradientPoints(float[] fillGradientPoints)
Sets the fill gradient points value.- Parameters:
fillGradientPoints- the fill gradient points value.
-
setGradientPointsSet
void setGradientPointsSet(boolean flag)
Sets the fact that the fill gradient points value has been set.- Parameters:
flag- true if the fill gradient points value has been set, false otherwise.
-
getOpacity
float getOpacity()
Returns the fill opacity value.- Returns:
- the fill opacity value.
-
isOpacitySet
boolean isOpacitySet()
Returns whether the fill opacity value has been set.- Returns:
- true if the fill opacity value has been set, false otherwise.
-
setOpacity
void setOpacity(float fillOpacity)
Sets the fill opacity value.- Parameters:
fillOpacity- the fill opacity value.
-
setOpacitySet
void setOpacitySet(boolean flag)
Sets the fact that the fill opacity value has been set.- Parameters:
flag- true if the fill opacity value has been set, false otherwise.
-
getFillPattern
FillPattern getFillPattern()
Returns the fill pattern value.- Returns:
- the fill pattern value.
-
isFillPatternSet
boolean isFillPatternSet()
Returns whether the fill pattern value has been set.- Returns:
- true if the fill pattern value has been set, false otherwise.
-
setFillPattern
void setFillPattern(FillPattern fillPattern)
Sets the fill pattern value.- Parameters:
fillPattern- the fill pattern value.
-
setFillPatternSet
void setFillPatternSet(boolean flag)
Sets the fact that the fill pattern value has been set.- Parameters:
flag- true if the fill pattern value has been set, false otherwise.
-
getFillStyle
FillStyle getFillStyle()
Returns the fill style value.- Returns:
- the fill style value.
-
isFillStyleSet
boolean isFillStyleSet()
Returns whether the fill style value has been set.- Returns:
- true if the fill style value has been set, false otherwise.
-
setFillStyle
void setFillStyle(FillStyle fillStyle)
Sets the fill style value.- Parameters:
fillStyle- the fill style value.
-
setFillStyleSet
void setFillStyleSet(boolean flag)
Sets the fact that the fill style value has been set.- Parameters:
flag- true if the fill style value has been set, false otherwise.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG