public class MBColor extends MBExpression
colors, decisions, featureData, ff, heatMap, json, lookUp, math, name, parse, ramps, string, transformer, types, variableBindings, zoomfunctionNameNIL| 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, transformLiteralaccept, dispatchArguments, equals, evaluate, functionName, getFallbackValue, getFunctionName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toStringevaluateevaluatepublic Expression colorRGB()
public Expression colorRGBA()
public Expression colorToRGBA()
public Expression getExpression() throws MBFormatException
MBExpressiongetExpression in class MBExpressionMBFormatExceptionCopyright © 1996–2021 Geotools. All rights reserved.