org.openstreetmap.josm.gui.mappaint
Class LinePatternElemStyle
java.lang.Object
org.openstreetmap.josm.gui.mappaint.ElemStyle
org.openstreetmap.josm.gui.mappaint.LinePatternElemStyle
- All Implemented Interfaces:
- StyleKeys
public class LinePatternElemStyle
- extends ElemStyle
similar to mapnik's LinePatternSymbolizer
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 |
pattern
public MapImage pattern
LinePatternElemStyle
public LinePatternElemStyle(Cascade c,
MapImage pattern)
create
public static LinePatternElemStyle create(Environment env)
paintPrimitive
public void paintPrimitive(OsmPrimitive primitive,
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
isProperLineStyle
public boolean isProperLineStyle()
- Overrides:
isProperLineStyle
in class ElemStyle
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