public interface PaletteEntry
Modifier and Type | Method and Description |
---|---|
boolean |
coversSingleEntry()
Indicates that the entry covers exactly one unique value (including,
potentially, Float.NaN).
|
int |
getARGB(float f)
Gets the integer ARGB color assignment associated with the input value.
|
java.awt.Color |
getColor(float f)
Gets the color assignment associated with the input value.
|
float |
getLowerBound()
Gets the lower-bound value for the palette entry
|
float |
getUpperBound()
Gets the upper-bound value for the palette entry
|
boolean |
isCovered(float f)
Indicates whether the indicated floating-point value is within the range
covered by this palette entry and can be assigned a valid color by the
implementation.
|
boolean coversSingleEntry()
boolean isCovered(float f)
f
- a valid floating point value, or a NaN.int getARGB(float f)
f
- valid floating point value, or a NaN.java.awt.Color getColor(float f)
f
- a valid floating point value, or a NaN.float getLowerBound()
float getUpperBound()
Copyright © 2010 - 2023 Adobe. All Rights Reserved