GradientHelper

Inheritance: java.lang.Object

public final class GradientHelper

Helper class that implement conversion of data for gradient properties.

Constructors

ConstructorDescription
GradientHelper()

Fields

FieldDescription
IntModelHSBHSBL color model integer constant for Noise gradient.
IntModelLABLBCL color model integer constant for Noise gradient.
IntModelRGBRGBC color model integer constant for Noise gradient.
StrGradientNoiseNoise gradient string constant.
StrGradientSolidSolid gradient string constant.
StrModelHSBHSBL color model string constant for Noise gradient.
StrModelLABLBCL color model string constant for Noise gradient.
StrModelRGBRGBC color model string constant for Noise gradient.

Methods

MethodDescription
equals(Object arg0)
getClass()
gradientKindToStr(int gradientKind)Convert GradientKind value to string.
hashCode()
intToNoiseColorModel(short colorModel)Converts integer value of noise color model to NoiseColorModel.
noiseColorModelToInt(short colorModel)Converts NoiseColorModel instance to integer value of noise color model.
noiseColorModelToStr(short colorModel)Convert NoiseColorModel value to string.
notify()
notifyAll()
strToGradientKind(String str)Convert string value to GradientKind.
strToNoiseColorModel(String colorModel)Convert string value to NoiseColorModel.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

GradientHelper()

public GradientHelper()

IntModelHSB

public static final short IntModelHSB

HSBL color model integer constant for Noise gradient.

IntModelLAB

public static final short IntModelLAB

LBCL color model integer constant for Noise gradient.

IntModelRGB

public static final short IntModelRGB

RGBC color model integer constant for Noise gradient.

StrGradientNoise

public static final String StrGradientNoise

Noise gradient string constant.

StrGradientSolid

public static final String StrGradientSolid

Solid gradient string constant.

StrModelHSB

public static final String StrModelHSB

HSBL color model string constant for Noise gradient.

StrModelLAB

public static final String StrModelLAB

LBCL color model string constant for Noise gradient.

StrModelRGB

public static final String StrModelRGB

RGBC color model string constant for Noise gradient.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

gradientKindToStr(int gradientKind)

public static String gradientKindToStr(int gradientKind)

Convert GradientKind value to string.

Parameters:

ParameterTypeDescription
gradientKindintGradientKind value.

Returns: java.lang.String - string value.

hashCode()

public native int hashCode()

Returns: int

intToNoiseColorModel(short colorModel)

public static short intToNoiseColorModel(short colorModel)

Converts integer value of noise color model to NoiseColorModel.

Parameters:

ParameterTypeDescription
colorModelshortInteger value of noise color model.

Returns: short - NoiseColorModel instance.

noiseColorModelToInt(short colorModel)

public static short noiseColorModelToInt(short colorModel)

Converts NoiseColorModel instance to integer value of noise color model.

Parameters:

ParameterTypeDescription
colorModelshortNoiseColorModel instance.

Returns: short - Integer value of Noise gradient color model.

noiseColorModelToStr(short colorModel)

public static String noiseColorModelToStr(short colorModel)

Convert NoiseColorModel value to string.

Parameters:

ParameterTypeDescription
colorModelshortNoiseColorModel value.

Returns: java.lang.String - String value of color model.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

strToGradientKind(String str)

public static int strToGradientKind(String str)

Convert string value to GradientKind.

Parameters:

ParameterTypeDescription
strjava.lang.Stringstring value.

Returns: int - GradientKind value.

strToNoiseColorModel(String colorModel)

public static short strToNoiseColorModel(String colorModel)

Convert string value to NoiseColorModel.

Parameters:

ParameterTypeDescription
colorModeljava.lang.Stringstring value.

Returns: short - NoiseColorModel value.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int