com.jidesoft.palette
Class InterpolatedPalette.Entry
java.lang.Object
com.jidesoft.palette.InterpolatedPalette.Entry
- All Implemented Interfaces:
- Comparable<InterpolatedPalette.Entry>
- Enclosing class:
- InterpolatedPalette
public static class InterpolatedPalette.Entry
- extends Object
- implements Comparable<InterpolatedPalette.Entry>
InterpolatedPalette.Entry
public InterpolatedPalette.Entry(double fraction,
Color color)
getFraction
public double getFraction()
getColor
public Color getColor()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(InterpolatedPalette.Entry o)
- Specified by:
compareTo
in interface Comparable<InterpolatedPalette.Entry>