|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.FillImpl
public class FillImpl
Field Summary |
---|
Fields inherited from interface org.geotools.styling.Fill |
---|
DEFAULT, NULL |
Constructor Summary | |
---|---|
protected |
FillImpl()
Creates a new instance of DefaultFill |
|
FillImpl(org.opengis.filter.FilterFactory factory)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
java.lang.Object |
accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object data)
|
java.lang.Object |
clone()
Returns a clone of the FillImpl. |
boolean |
equals(java.lang.Object oth)
Compares a FillImpl with another for equality. |
org.opengis.filter.expression.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. |
org.opengis.filter.expression.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. |
Graphic |
getGraphicFill()
This parameter indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic to use. |
org.opengis.filter.expression.Expression |
getOpacity()
This specifies the level of translucency to use when rendering the fill. |
int |
hashCode()
Generates a hashcode for the FillImpl. |
void |
setBackgroundColor(org.opengis.filter.expression.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. |
void |
setBackgroundColor(java.lang.String rgb)
|
void |
setColor(org.opengis.filter.expression.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. |
void |
setColor(java.lang.String rgb)
|
void |
setFilterFactory(org.opengis.filter.FilterFactory factory)
|
void |
setGraphicFill(org.opengis.style.Graphic graphicFill)
Setter for property graphic. |
void |
setOpacity(org.opengis.filter.expression.Expression opacity)
Setter for property opacity. |
void |
setOpacity(java.lang.String opacity)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FillImpl()
public FillImpl(org.opengis.filter.FilterFactory factory)
Method Detail |
---|
public void setFilterFactory(org.opengis.filter.FilterFactory factory)
public org.opengis.filter.expression.Expression getColor()
getColor
in interface org.opengis.style.Fill
public void setColor(org.opengis.filter.expression.Expression rgb)
rgb
- The color of the Fill encoded as a hexidecimal RGB value.public void setColor(java.lang.String rgb)
public org.opengis.filter.expression.Expression getBackgroundColor()
public void setBackgroundColor(org.opengis.filter.expression.Expression rgb)
rgb
- The color of the Fill encoded as a hexidecimal RGB value.public void setBackgroundColor(java.lang.String rgb)
public org.opengis.filter.expression.Expression getOpacity()
getOpacity
in interface org.opengis.style.Fill
public void setOpacity(org.opengis.filter.expression.Expression opacity)
opacity
- New value of property opacity.public void setOpacity(java.lang.String opacity)
public Graphic getGraphicFill()
getGraphicFill
in interface org.opengis.style.Fill
public void setGraphicFill(org.opengis.style.Graphic graphicFill)
graphicFill
- New value of property graphic.public java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
accept
in interface org.opengis.style.Fill
public void accept(StyleVisitor visitor)
public java.lang.Object clone()
clone
in class java.lang.Object
org.geotools.styling.Fill#clone()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object oth)
Two FillImpls are equal if they contain the same, color, backgroundcolor, opacity and graphicFill.
equals
in class java.lang.Object
oth
- The other FillImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |