/** * @see LinearColorMapElement#ClassificationCategory(CharSequence, Color[], NumberRange, NumberRange) */ public static LinearColorMapElement create(final CharSequence name, final Color color, final double value, final int sample) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, value, sample); }
/** * @see LinearColorMapElement#ClassificationCategory(CharSequence, Color[], NumberRange, NumberRange) */ public static LinearColorMapElement create(final CharSequence name, final Color color, final int value, final int sample) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, value, sample); }
/** * @see LinearColorMapElement#ClassificationCategory(CharSequence, Color[], NumberRange, NumberRange) */ public static LinearColorMapElement create(final CharSequence name, final Color color, final float value, final int sample) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, value, sample); }
/** * @see LinearColorMapElement#ClassificationCategory(CharSequence, Color[], NumberRange, NumberRange) */ public static LinearColorMapElement create(final CharSequence name, final Color color, final short value, final int sample) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, value, sample); }
/** * @see LinearColorMapElement#ClassificationCategory(CharSequence, Color[], NumberRange, NumberRange) */ public static LinearColorMapElement create(final CharSequence name, final Color color, final int value, final int sample) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, value, sample); }
/** * @see LinearColorMapElement#ClassificationCategory(CharSequence, Color[], NumberRange, NumberRange) */ public static LinearColorMapElement create(final CharSequence name, final Color color, final short value, final int sample) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, value, sample); }
/** * @see LinearColorMapElement#ClassificationCategory(CharSequence, Color[], NumberRange, NumberRange) */ public static LinearColorMapElement create(final CharSequence name, final Color color, final float value, final int sample) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, value, sample); }
/** * @see LinearColorMapElement#ClassificationCategory(CharSequence, Color[], NumberRange, NumberRange) */ public static LinearColorMapElement create(final CharSequence name, final Color color, final double value, final int sample) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, value, sample); }
public static LinearColorMapElement create(CharSequence name, final Color color, final Range inRange, final int outVal) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, inRange, outVal); }
public static LinearColorMapElement create(CharSequence name, final Color color, final Range inRange, final int outVal) throws IllegalArgumentException { return new ConstantColorMapElement(name, color, inRange, outVal); }