TwoColorGradient
Contents
[
Hide
]Inheritance: java.lang.Object
public class TwoColorGradient
Represents two color gradient.
Constructors
Constructor | Description |
---|---|
TwoColorGradient(Color color1, Color color2, int gradientStyleType, int variant) |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getColor1() | Gets the first gradient color. |
getColor2() | Gets the second gradient color. |
getGradientStyleType() | Gets gradient shading style. |
getVariant() | Gets the gradient variant. |
hashCode() | |
notify() | |
notifyAll() | |
setColor1(Color value) | Sets the first gradient color. |
setColor2(Color value) | Sets the second gradient color. |
setGradientStyleType(int value) | Sets gradient shading style. |
setVariant(int value) | Sets the gradient variant. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
TwoColorGradient(Color color1, Color color2, int gradientStyleType, int variant)
public TwoColorGradient(Color color1, Color color2, int gradientStyleType, int variant)
Parameters:
Parameter | Type | Description |
---|---|---|
color1 | Color | |
color2 | Color | |
gradientStyleType | int | GradientStyleType. |
variant | int |
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
getColor1()
public Color getColor1()
Gets the first gradient color.
Returns: Color
getColor2()
public Color getColor2()
Gets the second gradient color.
Returns: Color
getGradientStyleType()
public int getGradientStyleType()
Gets gradient shading style.
See GradientStyleType.
Returns: int
getVariant()
public int getVariant()
Gets the gradient variant.
Returns: int
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setColor1(Color value)
public void setColor1(Color value)
Sets the first gradient color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color |
setColor2(Color value)
public void setColor2(Color value)
Sets the second gradient color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color |
setGradientStyleType(int value)
public void setGradientStyleType(int value)
Sets gradient shading style.
See GradientStyleType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setVariant(int value)
public void setVariant(int value)
Sets the gradient variant.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native 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 |