public class AreaStyle extends RenderStyle<AreaStyle>
| Modifier and Type | Class and Description |
|---|---|
static class |
AreaStyle.AreaBuilder<T extends AreaStyle.AreaBuilder<T>> |
RenderStyle.Callback, RenderStyle.StyleBuilder<T extends RenderStyle.StyleBuilder<T>>| Modifier and Type | Field and Description |
|---|---|
int |
blendColor
Fade to blendColor zoom-level
|
int |
blendScale
Blend fill color
|
int |
color
Fill color
|
int |
fadeScale
Fade-out zoom-level
|
float |
heightOffset |
boolean |
mesh
Tessellation
|
int |
strokeColor
Outline
|
float |
strokeWidth |
java.lang.String |
style
Style name
|
int |
symbolHeight |
int |
symbolPercent |
int |
symbolWidth |
TextureItem |
texture
Pattern texture
|
cat| Constructor and Description |
|---|
AreaStyle(AreaStyle.AreaBuilder<?> b) |
AreaStyle(int color) |
AreaStyle(int level,
int color) |
| Modifier and Type | Method and Description |
|---|---|
static AreaStyle.AreaBuilder<?> |
builder() |
AreaStyle |
current() |
float |
getBlend(double scale) |
float |
getFade(double scale) |
boolean |
hasAlpha(int zoom) |
void |
renderWay(RenderStyle.Callback cb) |
dispose, renderNode, scaleTextSize, self, set, setCat, unsetOverride, updatepublic final java.lang.String style
public final int color
public final int fadeScale
public final int blendColor
public final int blendScale
public final TextureItem texture
public final int strokeColor
public final float strokeWidth
public boolean mesh
public final float heightOffset
public final int symbolWidth
public final int symbolHeight
public final int symbolPercent
public AreaStyle(int color)
public AreaStyle(int level,
int color)
public AreaStyle(AreaStyle.AreaBuilder<?> b)
public AreaStyle current()
current in class RenderStyle<AreaStyle>public void renderWay(RenderStyle.Callback cb)
renderWay in class RenderStyle<AreaStyle>cb - a reference to the receiver of all render callbacks.public boolean hasAlpha(int zoom)
public float getFade(double scale)
public float getBlend(double scale)
public static AreaStyle.AreaBuilder<?> builder()