Maven module :un.api : api-image :
Class :
un.api.image.color.InterpolatedColorModel
Extends/Implements :
un.api.image.color.AbstractColorModel
Subclasses : -
Variables : -
Functions :
InterpolatedColorModel,
getPalette,
getSteps,
toColor,
toColorARGB,
toSample,
toSample
public void
InterpolatedColorModel (int sampleType, Color[] palette, float[] steps)
public Color[]
getPalette ()
public float[]
getSteps ()
public Color
toColor (Object sample)
public int
toColorARGB (Object sample)
public Object
toSample (Color color)
public Object
toSample (int color)
Interpolate colors from a palette similar to a linear gradiant.
author Johann Sorel