public class MBColor extends MBExpression
colors, decisions, featureData, ff, heatMap, json, lookUp, math, name, parse, ramps, string, transformer, types, variableBindings, zoom
functionName
NIL
Constructor and Description |
---|
MBColor(JSONArray json) |
Modifier and Type | Method and Description |
---|---|
Expression |
colorRGB()
Creates a color value from red, green, and blue components, which must range between 0 and
255, and an alpha component of 1.
|
Expression |
colorRGBA()
Creates a color value from red, green, blue components, which must range between 0 and 255,
and an alpha component which must range between 0 and 1.
|
Expression |
colorToRGBA()
Returns a four-element array containing the input color's red, green, blue, and alpha
components, in that order.
|
Expression |
getExpression()
Determines which expression to use.
|
canCreate, create, getName, throwInsufficientArgumentCount, throwUnexpectedArgumentCount, transformExpression, transformLiteral
accept, dispatchArguments, equals, evaluate, functionName, getFallbackValue, getFunctionName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toString
evaluate
evaluate
public Expression colorRGB()
public Expression colorRGBA()
public Expression colorToRGBA()
public Expression getExpression() throws MBFormatException
MBExpression
getExpression
in class MBExpression
MBFormatException
Copyright © 1996–2021 Geotools. All rights reserved.