Package org.geotools.api.style
Interface ColorMapEntry
-
- All Known Implementing Classes:
ColorMapEntryImpl
public interface ColorMapEntry
A basic interface for objects which can hold color map entries.<xs:element name="ColorMapEntry"> <xs:complexType> <xs:attribute name="color" type="xs:string" use="required"/> <xs:attribute name="opacity" type="xs:double"/> <xs:attribute name="quantity" type="xs:double"/> <xs:attribute name="label" type="xs:string"/> </xs:complexType> </xs:element>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(StyleVisitor visitor)
Expression
getColor()
String
getLabel()
Label for this Color Map EntryExpression
getOpacity()
Expression
getQuantity()
void
setColor(Expression color)
Expression resulting in a colorvoid
setLabel(String label)
void
setOpacity(Expression opacity)
void
setQuantity(Expression quantity)
Quantity marking the start of this color map entry.
-
-
-
Method Detail
-
getLabel
String getLabel()
Label for this Color Map Entry
-
setLabel
void setLabel(String label)
- Parameters:
label
-
-
setColor
void setColor(Expression color)
Expression resulting in a color
-
getColor
Expression getColor()
- Returns:
- Expression evaluated into a color
-
setOpacity
void setOpacity(Expression opacity)
- Parameters:
opacity
- Expressed as a value between 0 and 1
-
getOpacity
Expression getOpacity()
- Returns:
- Opacity expressed as a value between 0 and 1
-
setQuantity
void setQuantity(Expression quantity)
Quantity marking the start of this color map entry.
-
getQuantity
Expression getQuantity()
- Returns:
- Quanity marking the start of this color map entry
-
accept
void accept(StyleVisitor visitor)
-
-