org.openstreetmap.josm.gui.mappaint
Class AreaElemStyle
java.lang.Object
org.openstreetmap.josm.gui.mappaint.ElemStyle
org.openstreetmap.josm.gui.mappaint.AreaElemStyle
- All Implemented Interfaces:
- StyleKeys
public class AreaElemStyle
- extends ElemStyle
Fields inherited from interface org.openstreetmap.josm.gui.mappaint.StyleKeys |
COLOR, DASHES, DASHES_BACKGROUND_COLOR, DASHES_BACKGROUND_OPACITY, DASHES_OFFSET, FILL_COLOR, FILL_IMAGE, FILL_OPACITY, ICON_IMAGE, MODIFIER, OBJECT_Z_INDEX, OFFSET, OPACITY, REAL_WIDTH, TEXT, TEXT_POSITION, WIDTH, Z_INDEX |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
color
public java.awt.Color color
- If fillImage == null, color is the fill-color, otherwise
an arbitrary color value sampled from the fillImage
fillImage
public MapImage fillImage
text
public TextElement text
AreaElemStyle
protected AreaElemStyle(Cascade c,
java.awt.Color color,
MapImage fillImage,
TextElement text)
create
public static AreaElemStyle create(Cascade c)
paintPrimitive
public void paintPrimitive(OsmPrimitive osm,
MapPaintSettings paintSettings,
MapPainter painter,
boolean selected,
boolean member)
- Description copied from class:
ElemStyle
- draws a primitive
- Specified by:
paintPrimitive
in class ElemStyle
selected
- true, if primitive is selectedmember
- true, if primitive is not selected and member of a selected relation
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class ElemStyle
hashCode
public int hashCode()
- Overrides:
hashCode
in class ElemStyle
toString
public java.lang.String toString()
- Overrides:
toString
in class ElemStyle
JOSM