public class SingleColor extends IndexedColorMapper
ColorMapper.Mode
Constructor and Description |
---|
SingleColor(Paint color)
Creates a new instance with the specified color.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Paint |
get(int value)
Returns the Paint according to the specified value.
|
Paint |
getColor()
Returns the color of this ColorMapper.
|
int |
hashCode() |
void |
setColor(Paint color)
Sets the color of this ColorMapper.
|
applyMode, get
getMode, setMode
public SingleColor(Paint color)
color
- Color to use.public Paint get(int value)
get
in class IndexedColorMapper
value
- Numeric index.public Paint getColor()
public void setColor(Paint color)
color
- Color to be set.Copyright © 2009-2013. All Rights Reserved.