MARKS_EMPTY
SYMBOLS_EMPTY
Constructor and Description |
---|
MarkImpl()
Creates a new instance of DefaultMark
|
MarkImpl(FilterFactory filterFactory,
ExternalMark external) |
MarkImpl(String name) |
Modifier and Type | Method and Description |
---|---|
void |
accept(StyleVisitor visitor) |
Object |
accept(StyleVisitor visitor,
Object data)
calls the visit method of a StyleVisitor
|
Object |
clone()
Creates a deep copy of the Mark.
|
boolean |
equals(Object oth)
Compares this MarkImpl with another for equality.
|
ExternalMarkImpl |
getExternalMark()
Mark defined by an external resource.
|
FillImpl |
getFill()
This parameter defines which fill style to use when rendering the Mark.
|
StrokeImpl |
getStroke()
This paramterer defines which stroke style should be used when rendering the Mark.
|
Expression |
getWellKnownName()
This parameter gives the well-known name of the shape of the mark.
|
int |
hashCode()
The hashcode override for the MarkImpl.
|
void |
setExternalMark(ExternalMark external)
Mark defined by an external resource.
|
void |
setFill(Fill fill)
Setter for property fill.
|
void |
setStroke(Stroke stroke)
Setter for property stroke.
|
void |
setWellKnownName(Expression wellKnownName)
Setter for property wellKnownName.
|
void |
setWellKnownName(String name) |
String |
toString() |
public MarkImpl()
public MarkImpl(String name)
public MarkImpl(FilterFactory filterFactory, ExternalMark external)
public FillImpl getFill()
public StrokeImpl getStroke()
public Expression getWellKnownName()
getWellKnownName
in interface Mark
public void setFill(Fill fill)
fill
- New value of property fill.public void setStroke(Stroke stroke)
stroke
- New value of property stroke.public void setWellKnownName(Expression wellKnownName)
wellKnownName
- New value of property wellKnownName.public void setWellKnownName(String name)
public Object accept(StyleVisitor visitor, Object data)
Mark
public void accept(StyleVisitor visitor)
public Object clone()
Only the fill and stroke are cloned since Expressions should be immutable.
public int hashCode()
public boolean equals(Object oth)
Two MarkImpls are equal if they have the same well Known Name, the same size and rotation and the same stroke and fill.
public ExternalMarkImpl getExternalMark()
Mark
getExternalMark
in interface Mark
public void setExternalMark(ExternalMark external)
Mark
external
- Indicate an mark defined by an external resourceCopyright © 1996–2019 Geotools. All rights reserved.