|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Mark element defines a "shape" which has coloring applied to it. The details of this object are taken from the OGC Styled-Layer Descriptor Report (OGC 01-077) version 0.7.2. Renderers can use this information when displaying styled features, though it must be remembered that not all renderers will be able to fully represent strokes as set out by this interface. For example, opacity may not be supported.
Method Summary | |
void |
accept(StyleVisitor visitor)
|
Fill |
getFill()
This parameter defines which fill style to use when rendering the Mark. |
Expression |
getRotation()
|
Expression |
getSize()
|
Stroke |
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. |
void |
setFill(Fill fill)
This parameter defines which fill style to use when rendering the Mark. |
void |
setRotation(Expression rotation)
|
void |
setSize(Expression size)
|
void |
setStroke(Stroke stroke)
This paramterer defines which stroke style should be used when rendering the Mark. |
void |
setWellKnownName(Expression wellKnownName)
This parameter gives the well-known name of the shape of the mark. |
Method Detail |
public Expression getWellKnownName()
public void setWellKnownName(Expression wellKnownName)
wellKnownName
- The well-known name of a shape. The default value is "square".public Stroke getStroke()
public void setStroke(Stroke stroke)
stroke
- The Stroke definition to use when rendering the Mark.public Fill getFill()
public void setFill(Fill fill)
fill
- the Fill definition to use when rendering the Mark.public Expression getSize()
public void setSize(Expression size)
public Expression getRotation()
public void setRotation(Expression rotation)
public void accept(StyleVisitor visitor)
accept
in interface Symbol
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |