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 |
|---|---|
boolean |
billboard |
Bitmap |
bitmap |
int |
hash |
boolean |
repeat |
static float |
REPEAT_GAP_DEFAULT |
static float |
REPEAT_START_DEFAULT |
float |
repeatGap |
float |
repeatStart |
boolean |
rotate |
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 static final float REPEAT_START_DEFAULT
public static final float REPEAT_GAP_DEFAULT
public final Bitmap bitmap
public final TextureRegion texture
public final int hash
public final int symbolWidth
public final int symbolHeight
public final int symbolPercent
public final boolean billboard
public final boolean repeat
public final float repeatStart
public final float repeatGap
public final boolean rotate
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()