public static class StyledMapRenderer.StyleRecord extends java.lang.Object implements java.lang.Comparable<StyledMapRenderer.StyleRecord>
Modifier and Type | Field and Description |
---|---|
private int |
flags |
private OsmPrimitive |
osm |
private StyleElement |
style |
Constructor and Description |
---|
StyleRecord(StyleElement style,
OsmPrimitive osm,
int flags) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(StyledMapRenderer.StyleRecord other) |
StyleElement |
getStyle()
Get the style for this style element.
|
void |
paintPrimitive(MapPaintSettings paintSettings,
StyledMapRenderer painter)
Paints the primitive with the style.
|
java.lang.String |
toString() |
private final StyleElement style
private final OsmPrimitive osm
private final int flags
StyleRecord(StyleElement style, OsmPrimitive osm, int flags)
public int compareTo(StyledMapRenderer.StyleRecord other)
compareTo
in interface java.lang.Comparable<StyledMapRenderer.StyleRecord>
public StyleElement getStyle()
public void paintPrimitive(MapPaintSettings paintSettings, StyledMapRenderer painter)
paintSettings
- The settings to use.painter
- The painter to paint the style.public java.lang.String toString()
toString
in class java.lang.Object