Package org.oscim.theme.styles
Class AreaStyle
TODO
- add custom shaders
- create distance field per tile?
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAreaStyle.AreaBuilder<T extends AreaStyle.AreaBuilder<T>>Nested classes/interfaces inherited from class org.oscim.theme.styles.RenderStyle
RenderStyle.Callback, RenderStyle.StyleBuilder<T extends RenderStyle.StyleBuilder<T>> -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intFade to blendColor zoom-levelfinal intBlend fill colorfinal intFill colorfinal intFade-out zoom-levelfinal floatbooleanTessellationfinal intOutlinefinal floatfinal StringStyle namefinal intfinal intfinal intfinal TextureItemPattern textureFields inherited from class org.oscim.theme.styles.RenderStyle
cat -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.oscim.theme.styles.RenderStyle
dispose, renderNode, scaleTextSize, self, set, setCat, unsetOverride, update
-
Field Details
-
style
Style name -
color
public final int colorFill color -
fadeScale
public final int fadeScaleFade-out zoom-level -
blendColor
public final int blendColorFade to blendColor zoom-level -
blendScale
public final int blendScaleBlend fill color -
texture
Pattern texture -
strokeColor
public final int strokeColorOutline -
strokeWidth
public final float strokeWidth -
mesh
public boolean meshTessellation -
heightOffset
public final float heightOffset -
symbolWidth
public final int symbolWidth -
symbolHeight
public final int symbolHeight -
symbolPercent
public final int symbolPercent
-
-
Constructor Details
-
AreaStyle
public AreaStyle(int color) -
AreaStyle
public AreaStyle(int level, int color) -
AreaStyle
-
-
Method Details
-
current
- Specified by:
currentin classRenderStyle<AreaStyle>
-
renderWay
- Overrides:
renderWayin classRenderStyle<AreaStyle>- Parameters:
cb- a reference to the receiver of all render callbacks.
-
hasAlpha
public boolean hasAlpha(int zoom) -
getFade
public float getFade(double scale) -
getBlend
public float getBlend(double scale) -
builder
-