@UiThread public class RasterLayer extends Layer
Constructor | Description |
---|---|
RasterLayer(java.lang.String layerId,
java.lang.String sourceId) |
Creates a RasterLayer.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
finalize() |
|
PropertyValue<java.lang.Float> |
getRasterBrightnessMax() |
Get the RasterBrightnessMax property
|
TransitionOptions |
getRasterBrightnessMaxTransition() |
Get the RasterBrightnessMax property transition options
|
PropertyValue<java.lang.Float> |
getRasterBrightnessMin() |
Get the RasterBrightnessMin property
|
TransitionOptions |
getRasterBrightnessMinTransition() |
Get the RasterBrightnessMin property transition options
|
PropertyValue<java.lang.Float> |
getRasterContrast() |
Get the RasterContrast property
|
TransitionOptions |
getRasterContrastTransition() |
Get the RasterContrast property transition options
|
PropertyValue<java.lang.Float> |
getRasterFadeDuration() |
Get the RasterFadeDuration property
|
PropertyValue<java.lang.Float> |
getRasterHueRotate() |
Get the RasterHueRotate property
|
TransitionOptions |
getRasterHueRotateTransition() |
Get the RasterHueRotate property transition options
|
PropertyValue<java.lang.Float> |
getRasterOpacity() |
Get the RasterOpacity property
|
TransitionOptions |
getRasterOpacityTransition() |
Get the RasterOpacity property transition options
|
PropertyValue<java.lang.String> |
getRasterResampling() |
Get the RasterResampling property
|
PropertyValue<java.lang.Float> |
getRasterSaturation() |
Get the RasterSaturation property
|
TransitionOptions |
getRasterSaturationTransition() |
Get the RasterSaturation property transition options
|
java.lang.String |
getSourceId() |
Get the source id.
|
protected void |
initialize(java.lang.String layerId,
java.lang.String sourceId) |
|
void |
setRasterBrightnessMaxTransition(TransitionOptions options) |
Set the RasterBrightnessMax property transition options
|
void |
setRasterBrightnessMinTransition(TransitionOptions options) |
Set the RasterBrightnessMin property transition options
|
void |
setRasterContrastTransition(TransitionOptions options) |
Set the RasterContrast property transition options
|
void |
setRasterHueRotateTransition(TransitionOptions options) |
Set the RasterHueRotate property transition options
|
void |
setRasterOpacityTransition(TransitionOptions options) |
Set the RasterOpacity property transition options
|
void |
setRasterSaturationTransition(TransitionOptions options) |
Set the RasterSaturation property transition options
|
void |
setSourceLayer(java.lang.String sourceLayer) |
Set the source layer.
|
RasterLayer |
withProperties(PropertyValue<?>... properties) |
Set a property or properties.
|
RasterLayer |
withSourceLayer(java.lang.String sourceLayer) |
Set the source Layer.
|
checkThread, getId, getMaxZoom, getMinZoom, getNativePtr, getVisibility, isDetached, nativeGetFilter, nativeGetId, nativeGetMaxZoom, nativeGetMinZoom, nativeGetSourceId, nativeGetSourceLayer, nativeGetVisibility, nativeSetFilter, nativeSetLayoutProperty, nativeSetMaxZoom, nativeSetMinZoom, nativeSetPaintProperty, nativeSetSourceLayer, setDetached, setMaxZoom, setMinZoom, setProperties
public RasterLayer(java.lang.String layerId, java.lang.String sourceId)
layerId
- the id of the layersourceId
- the id of the sourceprotected void initialize(java.lang.String layerId, java.lang.String sourceId)
public void setSourceLayer(java.lang.String sourceLayer)
sourceLayer
- the source layer to set@NonNull public RasterLayer withSourceLayer(java.lang.String sourceLayer)
sourceLayer
- the source layer to set@NonNull public java.lang.String getSourceId()
@NonNull public RasterLayer withProperties(@NonNull PropertyValue<?>... properties)
properties
- the var-args properties@NonNull public PropertyValue<java.lang.Float> getRasterOpacity()
@NonNull public TransitionOptions getRasterOpacityTransition()
public void setRasterOpacityTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Float> getRasterHueRotate()
@NonNull public TransitionOptions getRasterHueRotateTransition()
public void setRasterHueRotateTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Float> getRasterBrightnessMin()
@NonNull public TransitionOptions getRasterBrightnessMinTransition()
public void setRasterBrightnessMinTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Float> getRasterBrightnessMax()
@NonNull public TransitionOptions getRasterBrightnessMaxTransition()
public void setRasterBrightnessMaxTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Float> getRasterSaturation()
@NonNull public TransitionOptions getRasterSaturationTransition()
public void setRasterSaturationTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Float> getRasterContrast()
@NonNull public TransitionOptions getRasterContrastTransition()
public void setRasterContrastTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.String> getRasterResampling()
@NonNull public PropertyValue<java.lang.Float> getRasterFadeDuration()