public class BackgroundLayer extends Layer
| Constructor and Description |
|---|
BackgroundLayer(long nativePtr) |
BackgroundLayer(java.lang.String layerId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
PropertyValue<java.lang.String> |
getBackgroundColor() |
int |
getBackgroundColorAsInt()
The color with which the background will be drawn.
|
PropertyValue<java.lang.Float> |
getBackgroundOpacity() |
PropertyValue<java.lang.String> |
getBackgroundPattern() |
protected void |
initialize(java.lang.String layerId) |
BackgroundLayer |
withProperties(Property<?>... properties) |
checkValidity, getId, getMaxZoom, getMinZoom, getNativePtr, getVisibility, invalidate, nativeGetId, nativeGetMaxZoom, nativeGetMinZoom, nativeGetVisibility, nativeSetFilter, nativeSetLayoutProperty, nativeSetMaxZoom, nativeSetMinZoom, nativeSetPaintProperty, nativeSetSourceLayer, nativeUpdateStyle, setMaxZoom, setMinZoom, setPropertiespublic BackgroundLayer(long nativePtr)
public BackgroundLayer(java.lang.String layerId)
protected void initialize(java.lang.String layerId)
public BackgroundLayer withProperties(Property<?>... properties)
public PropertyValue<java.lang.String> getBackgroundColor()
public int getBackgroundColorAsInt()
java.lang.RuntimeExceptionpublic PropertyValue<java.lang.String> getBackgroundPattern()
public PropertyValue<java.lang.Float> getBackgroundOpacity()