GradientHelper
Inheritance: java.lang.Object
public final class GradientHelper
Helper class that implement conversion of data for gradient properties.
Constructors
Constructor | Description |
---|---|
GradientHelper() |
Fields
Field | Description |
---|---|
IntModelHSB | HSBL color model integer constant for Noise gradient. |
IntModelLAB | LBCL color model integer constant for Noise gradient. |
IntModelRGB | RGBC color model integer constant for Noise gradient. |
StrGradientNoise | Noise gradient string constant. |
StrGradientSolid | Solid gradient string constant. |
StrModelHSB | HSBL color model string constant for Noise gradient. |
StrModelLAB | LBCL color model string constant for Noise gradient. |
StrModelRGB | RGBC color model string constant for Noise gradient. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
gradientKind | int | GradientKind 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:
Parameter | Type | Description |
---|---|---|
colorModel | short | Integer 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:
Parameter | Type | Description |
---|---|---|
colorModel | short | NoiseColorModel 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:
Parameter | Type | Description |
---|---|---|
colorModel | short | NoiseColorModel 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:
Parameter | Type | Description |
---|---|---|
str | java.lang.String | string value. |
Returns: int - GradientKind value.
strToNoiseColorModel(String colorModel)
public static short strToNoiseColorModel(String colorModel)
Convert string value to NoiseColorModel.
Parameters:
Parameter | Type | Description |
---|---|---|
colorModel | java.lang.String | string 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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |