org.opengis.sld
Interface Fill
-
@XmlElement(value="Fill") public interface Fill
Indicates how the interior of polygons will be filled.- Since:
- GeoAPI 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description ExpressiongetColor()Indicates the color to be used for solid-filling the interior of polygons.GraphicgetGraphicFill()If this object is to be filled with tiled copies of an image, then returns a non-null Graphic that indicates what image should be drawn.ExpressiongetOpacity()Indicates the opacity of the fill.voidsetColor(Expression expression)Sets the color to be used for solid-filling the interior of polygons.voidsetGraphicFill(Graphic graphicFill)Sets the graphic that will be used to tile the interior of polygons.voidsetOpacity(Expression expression)Sets the opacity of the fill.
-
-
-
Method Detail
-
getGraphicFill
@XmlElement(value="GraphicFill") Graphic getGraphicFill()
If this object is to be filled with tiled copies of an image, then returns a non-null Graphic that indicates what image should be drawn.
-
setGraphicFill
@XmlElement(value="GraphicFill") void setGraphicFill(Graphic graphicFill)
Sets the graphic that will be used to tile the interior of polygons. This can be set to null if solid color fill is desired. SeegetGraphicFill()for details.
-
getColor
Expression getColor()
Indicates the color to be used for solid-filling the interior of polygons. The format of the color is"#rrggbb"whererr,gg, andbbare two digit hexadecimal integers specify the red, green, and blue color intensities, repsectively. If null, the default color is 50% gray,"#808080".
-
setColor
void setColor(Expression expression)
Sets the color to be used for solid-filling the interior of polygons. SeegetColor()for details.
-
getOpacity
Expression getOpacity()
Indicates the opacity of the fill. This value must be a floating point number ranging from 0.0 to 1.0, where 0.0 means completely transparent and 1.0 means completely opaque. If null, the default value is 1.0, completely opaque.
-
setOpacity
void setOpacity(Expression expression)
Sets the opacity of the fill. This value must be a floating point number ranging from 0.0 to 1.0, where 0.0 means completely transparent and 1.0 means completely opaque. If null, the default value is 1.0, completely opaque. SeegetOpacity()for details.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG