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