public class AreaElemStyle extends ElemStyle
| Modifier and Type | Field and Description |
|---|---|
java.awt.Color |
color
If fillImage == null, color is the fill-color, otherwise
an arbitrary color value sampled from the fillImage
|
MapImage |
fillImage |
TextElement |
text |
ICON_KEYS, isModifier, major_z_index, object_z_index, REPEAT_IMAGE_KEYS, z_indexCOLOR, DASHES, DASHES_BACKGROUND_COLOR, DASHES_BACKGROUND_OPACITY, DASHES_OFFSET, FILL_COLOR, FILL_IMAGE, FILL_OPACITY, ICON_HEIGHT_IDX, ICON_IMAGE, ICON_IMAGE_IDX, ICON_OPACITY_IDX, ICON_WIDTH_IDX, MODIFIER, OBJECT_Z_INDEX, OFFSET, OPACITY, REAL_WIDTH, REPEAT_IMAGE, REPEAT_IMAGE_ALIGN, REPEAT_IMAGE_OFFSET, REPEAT_IMAGE_PHASE, REPEAT_IMAGE_SPACING, TEXT, TEXT_POSITION, WIDTH, Z_INDEX| Modifier | Constructor and Description |
|---|---|
protected |
AreaElemStyle(Cascade c,
java.awt.Color color,
MapImage fillImage,
TextElement text) |
| Modifier and Type | Method and Description |
|---|---|
static AreaElemStyle |
create(Environment env) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
paintPrimitive(OsmPrimitive osm,
MapPaintSettings paintSettings,
StyledMapRenderer painter,
boolean selected,
boolean outermember,
boolean member)
draws a primitive
|
java.lang.String |
toString() |
getFont, getWidth, isProperLineStylepublic java.awt.Color color
public TextElement text
protected AreaElemStyle(Cascade c, java.awt.Color color, MapImage fillImage, TextElement text)
public static AreaElemStyle create(Environment env)
public void paintPrimitive(OsmPrimitive osm, MapPaintSettings paintSettings, StyledMapRenderer painter, boolean selected, boolean outermember, boolean member)
ElemStylepaintPrimitive in class ElemStyleselected - true, if primitive is selectedoutermember - true, if primitive is not selected and outer member of a selected multipolygon relationmember - true, if primitive is not selected and member of a selected relation