@UiThread public class FillLayer extends Layer
Constructor | Description |
---|---|
FillLayer(java.lang.String layerId,
java.lang.String sourceId) |
Creates a FillLayer.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
finalize() |
|
PropertyValue<java.lang.Boolean> |
getFillAntialias() |
Get the FillAntialias property
|
PropertyValue<java.lang.String> |
getFillColor() |
Get the FillColor property
|
int |
getFillColorAsInt() |
The color of the filled part of this layer.
|
TransitionOptions |
getFillColorTransition() |
Get the FillColor property transition options
|
PropertyValue<java.lang.Float> |
getFillOpacity() |
Get the FillOpacity property
|
TransitionOptions |
getFillOpacityTransition() |
Get the FillOpacity property transition options
|
PropertyValue<java.lang.String> |
getFillOutlineColor() |
Get the FillOutlineColor property
|
int |
getFillOutlineColorAsInt() |
The outline color of the fill.
|
TransitionOptions |
getFillOutlineColorTransition() |
Get the FillOutlineColor property transition options
|
PropertyValue<java.lang.String> |
getFillPattern() |
Get the FillPattern property
|
TransitionOptions |
getFillPatternTransition() |
Get the FillPattern property transition options
|
PropertyValue<java.lang.Float> |
getFillSortKey() |
Get the FillSortKey property
|
PropertyValue<java.lang.Float[]> |
getFillTranslate() |
Get the FillTranslate property
|
PropertyValue<java.lang.String> |
getFillTranslateAnchor() |
Get the FillTranslateAnchor property
|
TransitionOptions |
getFillTranslateTransition() |
Get the FillTranslate property transition options
|
Expression |
getFilter() |
Get a single expression filter.
|
java.lang.String |
getSourceId() |
Get the source id.
|
java.lang.String |
getSourceLayer() |
Get the source layer.
|
protected void |
initialize(java.lang.String layerId,
java.lang.String sourceId) |
|
void |
setFillColorTransition(TransitionOptions options) |
Set the FillColor property transition options
|
void |
setFillOpacityTransition(TransitionOptions options) |
Set the FillOpacity property transition options
|
void |
setFillOutlineColorTransition(TransitionOptions options) |
Set the FillOutlineColor property transition options
|
void |
setFillPatternTransition(TransitionOptions options) |
Set the FillPattern property transition options
|
void |
setFillTranslateTransition(TransitionOptions options) |
Set the FillTranslate property transition options
|
void |
setFilter(Expression filter) |
Set a single expression filter.
|
void |
setSourceLayer(java.lang.String sourceLayer) |
Set the source layer.
|
FillLayer |
withFilter(Expression filter) |
Set a single expression filter.
|
FillLayer |
withProperties(PropertyValue<?>... properties) |
Set a property or properties.
|
FillLayer |
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 FillLayer(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 FillLayer withSourceLayer(java.lang.String sourceLayer)
sourceLayer
- the source layer to set@NonNull public java.lang.String getSourceId()
@NonNull public java.lang.String getSourceLayer()
public void setFilter(@NonNull Expression filter)
filter
- the expression filter to set@NonNull public FillLayer withFilter(@NonNull Expression filter)
filter
- the expression filter to set@Nullable public Expression getFilter()
@NonNull public FillLayer withProperties(@NonNull PropertyValue<?>... properties)
properties
- the var-args properties@NonNull public PropertyValue<java.lang.Float> getFillSortKey()
@NonNull public PropertyValue<java.lang.Boolean> getFillAntialias()
@NonNull public PropertyValue<java.lang.Float> getFillOpacity()
@NonNull public TransitionOptions getFillOpacityTransition()
public void setFillOpacityTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.String> getFillColor()
public int getFillColorAsInt()
java.lang.RuntimeException
- thrown if property isn't a value@NonNull public TransitionOptions getFillColorTransition()
public void setFillColorTransition(@NonNull TransitionOptions options)
options
- transition options for String@NonNull public PropertyValue<java.lang.String> getFillOutlineColor()
public int getFillOutlineColorAsInt()
java.lang.RuntimeException
- thrown if property isn't a value@NonNull public TransitionOptions getFillOutlineColorTransition()
public void setFillOutlineColorTransition(@NonNull TransitionOptions options)
options
- transition options for String@NonNull public PropertyValue<java.lang.Float[]> getFillTranslate()
@NonNull public TransitionOptions getFillTranslateTransition()
public void setFillTranslateTransition(@NonNull TransitionOptions options)
options
- transition options for Float[]@NonNull public PropertyValue<java.lang.String> getFillTranslateAnchor()
@NonNull public PropertyValue<java.lang.String> getFillPattern()
@NonNull public TransitionOptions getFillPatternTransition()
public void setFillPatternTransition(@NonNull TransitionOptions options)
options
- transition options for String