public final class SymbolStyle extends RenderStyle<SymbolStyle>
| Modifier and Type | Class and Description |
|---|---|
static class |
SymbolStyle.SymbolBuilder<T extends SymbolStyle.SymbolBuilder<T>> |
RenderStyle.Callback, RenderStyle.StyleBuilder<T extends RenderStyle.StyleBuilder<T>>| Modifier and Type | Field and Description |
|---|---|
Bitmap |
bitmap |
int |
hash |
int |
symbolHeight |
int |
symbolPercent |
int |
symbolWidth |
TextureRegion |
texture |
cat| Constructor and Description |
|---|
SymbolStyle(Bitmap bitmap) |
SymbolStyle(int hash) |
SymbolStyle(SymbolStyle.SymbolBuilder<?> b) |
SymbolStyle(TextureRegion texture) |
| Modifier and Type | Method and Description |
|---|---|
static SymbolStyle.SymbolBuilder<?> |
builder() |
SymbolStyle |
current() |
void |
dispose()
Destroys this RenderInstruction and cleans up all its internal resources.
|
void |
renderNode(RenderStyle.Callback cb) |
void |
renderWay(RenderStyle.Callback cb) |
scaleTextSize, self, set, setCat, unsetOverride, updatepublic final Bitmap bitmap
public final TextureRegion texture
public final int hash
public final int symbolWidth
public final int symbolHeight
public final int symbolPercent
public SymbolStyle(Bitmap bitmap)
public SymbolStyle(TextureRegion texture)
public SymbolStyle(int hash)
public SymbolStyle(SymbolStyle.SymbolBuilder<?> b)
public SymbolStyle current()
current in class RenderStyle<SymbolStyle>public void dispose()
RenderStyledispose in class RenderStyle<SymbolStyle>public void renderNode(RenderStyle.Callback cb)
renderNode in class RenderStyle<SymbolStyle>cb - a reference to the receiver of all render callbacks.public void renderWay(RenderStyle.Callback cb)
renderWay in class RenderStyle<SymbolStyle>cb - a reference to the receiver of all render callbacks.public static SymbolStyle.SymbolBuilder<?> builder()