Package org.oscim.theme.styles
Class SymbolStyle
Represents an icon on the map.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSymbolStyle.SymbolBuilder<T extends SymbolStyle.SymbolBuilder<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 booleanfinal Bitmapfinal intfinal booleanstatic final floatstatic final floatfinal floatfinal floatfinal booleanfinal intfinal intfinal intfinal TextureRegionFields inherited from class org.oscim.theme.styles.RenderStyle
cat -
Constructor Summary
ConstructorsConstructorDescriptionSymbolStyle(int hash) SymbolStyle(Bitmap bitmap) SymbolStyle(TextureRegion texture) -
Method Summary
Modifier and TypeMethodDescriptionstatic SymbolStyle.SymbolBuilder<?>builder()current()voiddispose()Destroys this RenderInstruction and cleans up all its internal resources.voidvoidMethods inherited from class org.oscim.theme.styles.RenderStyle
scaleTextSize, self, set, setCat, unsetOverride, update
-
Field Details
-
REPEAT_START_DEFAULT
public static final float REPEAT_START_DEFAULT- See Also:
-
REPEAT_GAP_DEFAULT
public static final float REPEAT_GAP_DEFAULT- See Also:
-
bitmap
-
texture
-
hash
public final int hash -
symbolWidth
public final int symbolWidth -
symbolHeight
public final int symbolHeight -
symbolPercent
public final int symbolPercent -
billboard
public final boolean billboard -
repeat
public final boolean repeat -
repeatStart
public final float repeatStart -
repeatGap
public final float repeatGap -
rotate
public final boolean rotate
-
-
Constructor Details
-
SymbolStyle
-
SymbolStyle
-
SymbolStyle
public SymbolStyle(int hash) -
SymbolStyle
-
-
Method Details
-
current
- Specified by:
currentin classRenderStyle<SymbolStyle>
-
dispose
public void dispose()Description copied from class:RenderStyleDestroys this RenderInstruction and cleans up all its internal resources.- Overrides:
disposein classRenderStyle<SymbolStyle>
-
renderNode
- Overrides:
renderNodein classRenderStyle<SymbolStyle>- Parameters:
cb- a reference to the receiver of all render callbacks.
-
renderWay
- Overrides:
renderWayin classRenderStyle<SymbolStyle>- Parameters:
cb- a reference to the receiver of all render callbacks.
-
builder
-