| java.lang.Object org.geotools.event.AbstractGTComponent org.geotools.styling.FillImpl
Method Summary | |
public void | accept(StyleVisitor visitor) | public Object | clone() Returns a clone of the FillImpl. | public boolean | equals(Object oth) Compares a FillImpl with another for equality. | public Expression | getBackgroundColor() This parameter gives the solid color that will be used as a background for a Fill.
The color value is RGB-encoded using two hexidecimal digits per
primary-color component, in the order Red, Green, Blue, prefixed with
the hash (#) sign.
The hexidecimal digits between A and F may be in either upper
or lower case. | public Expression | getColor() This parameter gives the solid color that will be used for a Fill.
The color value is RGB-encoded using two hexidecimal digits per
primary-color component, in the order Red, Green, Blue, prefixed with
the hash (#) sign.
The hexidecimal digits between A and F may be in either upper
or lower case. | public org.geotools.styling.Graphic | getGraphicFill() This parameter indicates that a stipple-fill repeated graphic will be
used and specifies the fill graphic to use. | public Expression | getOpacity() This specifies the level of translucency to use when rendering the fill. | public int | hashCode() Generates a hashcode for the FillImpl. | public void | setBackgroundColor(Expression rgb) This parameter gives the solid color that will be used as a background for a Fill.
The color value is RGB-encoded using two hexidecimal digits per
primary-color component, in the order Red, Green, Blue, prefixed with
the hash (#) sign.
The hexidecimal digits between A and F may be in either upper
or lower case. | public void | setBackgroundColor(String rgb) | public void | setColor(Expression rgb) This parameter gives the solid color that will be used for a Fill.
The color value is RGB-encoded using two hexidecimal digits per
primary-color component, in the order Red, Green, Blue, prefixed with
the hash (#) sign.
The hexidecimal digits between A and F may be in either upper
or lower case. | public void | setColor(String rgb) | public void | setFilterFactory(FilterFactory factory) | public void | setGraphicFill(org.geotools.styling.Graphic graphicFill) Setter for property graphic. | public void | setOpacity(Expression opacity) Setter for property opacity. | public void | setOpacity(String opacity) |
FillImpl | protected FillImpl()(Code) | | Creates a new instance of DefaultFill
|
FillImpl | public FillImpl(FilterFactory factory)(Code) | | |
equals | public boolean equals(Object oth)(Code) | | Compares a FillImpl with another for equality.
Two FillImpls are equal if they contain the same,
color, backgroundcolor, opacity and graphicFill.
Parameters: oth - The other FillImpl True if this FillImpl is equal to oth. |
getBackgroundColor | public Expression getBackgroundColor()(Code) | | This parameter gives the solid color that will be used as a background for a Fill.
The color value is RGB-encoded using two hexidecimal digits per
primary-color component, in the order Red, Green, Blue, prefixed with
the hash (#) sign.
The hexidecimal digits between A and F may be in either upper
or lower case. For example, full red is encoded as "#ff0000" (with no
quotation marks).
The default color is defined to be transparent.
The color of the Fill encoded as a hexidecimal RGB value. |
getColor | public Expression getColor()(Code) | | This parameter gives the solid color that will be used for a Fill.
The color value is RGB-encoded using two hexidecimal digits per
primary-color component, in the order Red, Green, Blue, prefixed with
the hash (#) sign.
The hexidecimal digits between A and F may be in either upper
or lower case. For example, full red is encoded as "#ff0000" (with no
quotation marks).
The default color is defined to be 50% gray ("#808080").
Note: in CSS this parameter is just called Fill and not Color.
The color of the Fill encoded as a hexidecimal RGB value. |
getGraphicFill | public org.geotools.styling.Graphic getGraphicFill()(Code) | | This parameter indicates that a stipple-fill repeated graphic will be
used and specifies the fill graphic to use.
graphic The graphic to use as a stipple fill.If null then no Stipple fill should be used. |
getOpacity | public Expression getOpacity()(Code) | | This specifies the level of translucency to use when rendering the fill.
The value is encoded as a floating-point value between 0.0 and 1.0
with 0.0 representing totally transparent and 1.0 representing totally
opaque, with a linear scale of translucency for intermediate values.
For example, "0.65" would represent 65% opacity.
The default value is 1.0 (opaque).
The opacity of the fill, where 0.0 is completely transparentand 1.0 is completely opaque. |
hashCode | public int hashCode()(Code) | | Generates a hashcode for the FillImpl.
The hashcode. |
setBackgroundColor | public void setBackgroundColor(Expression rgb)(Code) | | This parameter gives the solid color that will be used as a background for a Fill.
The color value is RGB-encoded using two hexidecimal digits per
primary-color component, in the order Red, Green, Blue, prefixed with
the hash (#) sign.
The hexidecimal digits between A and F may be in either upper
or lower case. For example, full red is encoded as "#ff0000" (with no
quotation marks).
Parameters: rgb - The color of the Fill encoded as a hexidecimal RGB value. |
setBackgroundColor | public void setBackgroundColor(String rgb)(Code) | | |
setColor | public void setColor(Expression rgb)(Code) | | This parameter gives the solid color that will be used for a Fill.
The color value is RGB-encoded using two hexidecimal digits per
primary-color component, in the order Red, Green, Blue, prefixed with
the hash (#) sign.
The hexidecimal digits between A and F may be in either upper
or lower case. For example, full red is encoded as "#ff0000" (with no
quotation marks).
Note: in CSS this parameter is just called Fill and not Color.
Parameters: rgb - The color of the Fill encoded as a hexidecimal RGB value. |
setFilterFactory | public void setFilterFactory(FilterFactory factory)(Code) | | |
setGraphicFill | public void setGraphicFill(org.geotools.styling.Graphic graphicFill)(Code) | | Setter for property graphic.
Parameters: graphicFill - New value of property graphic. |
setOpacity | public void setOpacity(Expression opacity)(Code) | | Setter for property opacity.
Parameters: opacity - New value of property opacity. |
|
|