public class AreaElemStyle extends ElemStyle
| Modifier and Type | Field and Description |
|---|---|
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,
Color color,
MapImage fillImage,
TextElement text) |
| Modifier and Type | Method and Description |
|---|---|
static AreaElemStyle |
create(Cascade c) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
paintPrimitive(OsmPrimitive osm,
MapPaintSettings paintSettings,
StyledMapRenderer painter,
boolean selected,
boolean member)
draws a primitive
|
String |
toString() |
getFont, getWidth, isProperLineStylepublic Color color
public TextElement text
protected AreaElemStyle(Cascade c, Color color, MapImage fillImage, TextElement text)
public static AreaElemStyle create(Cascade c)
public void paintPrimitive(OsmPrimitive osm, MapPaintSettings paintSettings, StyledMapRenderer painter, boolean selected, boolean member)
ElemStylepaintPrimitive in class ElemStyleselected - true, if primitive is selectedmember - true, if primitive is not selected and member of a selected relation