public class FillLayer extends Layer
Constructor and Description |
---|
FillLayer(String layerId,
String sourceId)
Creates a FillLayer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
PropertyValue<Boolean> |
getFillAntialias()
Get the FillAntialias property
|
PropertyValue<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<Float> |
getFillOpacity()
Get the FillOpacity property
|
TransitionOptions |
getFillOpacityTransition()
Get the FillOpacity property transition options
|
PropertyValue<String> |
getFillOutlineColor()
Get the FillOutlineColor property
|
int |
getFillOutlineColorAsInt()
The outline color of the fill.
|
TransitionOptions |
getFillOutlineColorTransition()
Get the FillOutlineColor property transition options
|
PropertyValue<String> |
getFillPattern()
Get the FillPattern property
|
TransitionOptions |
getFillPatternTransition()
Get the FillPattern property transition options
|
PropertyValue<Float[]> |
getFillTranslate()
Get the FillTranslate property
|
PropertyValue<String> |
getFillTranslateAnchor()
Get the FillTranslateAnchor property
|
TransitionOptions |
getFillTranslateTransition()
Get the FillTranslate property transition options
|
Expression |
getFilter()
Get a single expression filter.
|
String |
getSourceId()
Get the source id.
|
String |
getSourceLayer()
Get the source layer.
|
protected void |
initialize(String layerId,
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(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(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 void setSourceLayer(String sourceLayer)
sourceLayer
- the source layer to setpublic FillLayer withSourceLayer(String sourceLayer)
sourceLayer
- the source layer to setpublic String getSourceId()
public String getSourceLayer()
public void setFilter(Expression filter)
filter
- the expression filter to setpublic FillLayer withFilter(Expression filter)
filter
- the expression filter to setpublic Expression getFilter()
public FillLayer withProperties(PropertyValue<?>... properties)
properties
- the var-args propertiespublic PropertyValue<Boolean> getFillAntialias()
public PropertyValue<Float> getFillOpacity()
public TransitionOptions getFillOpacityTransition()
public void setFillOpacityTransition(TransitionOptions options)
options
- transition options for Floatpublic PropertyValue<String> getFillColor()
public int getFillColorAsInt()
RuntimeException
- thrown if property isn't a valuepublic TransitionOptions getFillColorTransition()
public void setFillColorTransition(TransitionOptions options)
options
- transition options for Stringpublic PropertyValue<String> getFillOutlineColor()
public int getFillOutlineColorAsInt()
RuntimeException
- thrown if property isn't a valuepublic TransitionOptions getFillOutlineColorTransition()
public void setFillOutlineColorTransition(TransitionOptions options)
options
- transition options for Stringpublic PropertyValue<Float[]> getFillTranslate()
public TransitionOptions getFillTranslateTransition()
public void setFillTranslateTransition(TransitionOptions options)
options
- transition options for Float[]public PropertyValue<String> getFillTranslateAnchor()
public PropertyValue<String> getFillPattern()
public TransitionOptions getFillPatternTransition()
public void setFillPatternTransition(TransitionOptions options)
options
- transition options for String© 2015–2019 Mapbox. All rights reserved.