|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Mark takes a "shape" and applies coloring to it. The shape can be derived either from a well-known name (such as "square"), an external URL in various formats (such as, perhaps GIF), or from a glyph of a font. Multiple external formats may be used with the semantic that they all contain the equivalent shape in different formats. If an image format is used that has inherent coloring, the coloring is discarded and only the opacity channel (or equivalent) is used. A Halo, Fill, and/or Stroke is applied as appropriate for the shape's source format.
Method Summary | |
java.awt.image.BufferedImage |
getAsImage(Feature feature,
int size)
Returns the mark as an image. |
Fill |
getFill()
A Fill allows area geometries to be filled. |
Stroke |
getStroke()
A Stroke allows a string of line segments (or any linear geometry) to be rendered. |
java.lang.String |
getWellKnownName()
Gives the well known name of a Mark's shape. |
void |
setAsImage(java.awt.image.BufferedImage bufferedImage)
Sets the mark as an image. |
void |
setFill(Fill fill)
Sets the Fill |
void |
setStroke(Stroke stroke)
Sets the |
void |
setWellKnownName(java.lang.String wellKnownName)
Sets the well known name of a Mark's shape. |
Method Detail |
public java.lang.String getWellKnownName()
public void setWellKnownName(java.lang.String wellKnownName)
wellKnownName
- the WK-Name of the markpublic Fill getFill()
public void setFill(Fill fill)
fill
- the fill of the markpublic Stroke getStroke()
public void setStroke(Stroke stroke)
stroke
- the stroke of the markpublic java.awt.image.BufferedImage getAsImage(Feature feature, int size) throws FilterEvaluationException
FilterEvaluationException
public void setAsImage(java.awt.image.BufferedImage bufferedImage)
bufferedImage
- the bufferedImage to be set for the mark
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |