public class RasterMBLayer extends MBLayer
MBLayer.Visibility
Constructor and Description |
---|
RasterMBLayer(JSONObject json) |
Modifier and Type | Method and Description |
---|---|
Expression |
brightnessMax()
(Optional) Scale the brightness of the image.
|
Expression |
brightnessMin()
(Optional) Scale the brightness of the image.
|
Expression |
contrast()
(Optional) Increase or reduce the contrast of the image.
|
protected SemanticType |
defaultSemanticType()
Default
SemanticType to use when generating MBLayer.getFilter() . |
Expression |
fadeDuration()
(Optional) Fade duration when a new tile is added.
|
Number |
getBrightnessMax()
(Optional) Scale the brightness of the image.
|
Number |
getBrightnessMin()
(Optional) Scale the brightness of the image.
|
Number |
getContrast()
(Optional) Increase or reduce the contrast of the image.
|
Number |
getFadeDuration()
(Optional) Fade duration when a new tile is added.
|
Number |
getHueRotate()
(Optional) Rotates hues around the color wheel.
|
Number |
getOpacity()
(Optional) The opacity (Number) at which the image will be drawn.
|
Number |
getSaturation()
(Optional) Increase or reduce the saturation of the image.
|
String |
getType()
Rendering type of this layer.
|
Expression |
hueRotate()
(Optional) Rotates hues around the color wheel.
|
Expression |
opacity()
(Optional) The opacity (Number) at which the image will be drawn.
|
Expression |
saturation()
(Optional) Increase or reduce the saturation of the image.
|
List<FeatureTypeStyle> |
transformInternal(MBStyle styleContext)
Transform
RasterMBLayer to GeoTools FeatureTypeStyle. |
create, equals, filter, getFilter, getId, getJson, getLayout, getMaxZoom, getMetadata, getMinZoom, getPaint, getRef, getSource, getSourceLayer, getVisibility, hashCode, layout, paint, toString, transform, transform, visibility
protected SemanticType defaultSemanticType()
MBLayer
SemanticType
to use when generating MBLayer.getFilter()
.
Use ANY to match all geometry, or fill in LINE, POINT, POLYGON if needed.
public Expression opacity()
Defaults to 1. Range: [0, 1]
public Number getOpacity()
Defaults to 1. Range: [0, 1]
public Expression hueRotate()
Number. Units in degrees. Defaults to 0.
public Number getHueRotate()
Number. Units in degrees. Defaults to 0.
public Expression brightnessMin()
Number. Defaults to 0. Range: [0, 1]
public Number getBrightnessMin()
Number. Defaults to 0. Range: [0, 1]
public Expression brightnessMax()
Number. Defaults to 1. Range: [0, 1]
public Number getBrightnessMax()
Number. Defaults to 1. Range: [0, 1]
public Expression saturation()
Number. Defaults to 0. Range: [-1, 1]
public Number getSaturation()
Number. Defaults to 0. Range: [-1, 1]
public Expression contrast()
Number. Defaults to 0. Range: [-1, 1]
public Number getContrast()
Number. Defaults to 0. Range: [-1, 1]
public Expression fadeDuration()
Number. Units in milliseconds. Defaults to 300.
public Number getFadeDuration()
Number. Units in milliseconds. Defaults to 300.
public List<FeatureTypeStyle> transformInternal(MBStyle styleContext)
transformInternal
in class MBLayer
styleContext
- The MBStyle to which this layer belongs, used as a context for things
like resolving sprite and glyph names to full urls.Copyright © 1996–2022 Geotools. All rights reserved.