public class ColorRule extends Object
Constructor and Description |
---|
ColorRule(float cat0,
int r0,
int g0,
int b0,
float cat1,
int r1,
int g1,
int b1)
Creates a new instance of ColorRule
|
ColorRule(int cat,
int r,
int g,
int b)
Creates a new instance of ColorRule
|
Modifier and Type | Method and Description |
---|---|
int |
compare(float cat) |
float |
getCategoryRange() |
byte[] |
getColor(float cat)
Return the colour tupple for specified category value
|
float |
getLowCategoryValue() |
static void |
parseColorRule(String colorRule,
List<Double> values,
List<Color> colors) |
String |
toString() |
public ColorRule(int cat, int r, int g, int b)
public ColorRule(float cat0, int r0, int g0, int b0, float cat1, int r1, int g1, int b1)
Copyright © 1996–2022 Geotools. All rights reserved.