java.io.Serializable
public final class GradientPaintTransformType extends java.lang.Object implements java.io.Serializable
GradientPaint
.Modifier and Type | Field | Description |
---|---|---|
static GradientPaintTransformType |
CENTER_HORIZONTAL |
Center/horizontal.
|
static GradientPaintTransformType |
CENTER_VERTICAL |
Center/vertical.
|
static GradientPaintTransformType |
HORIZONTAL |
Horizontal.
|
static GradientPaintTransformType |
VERTICAL |
Vertical.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
Returns
true if this object is equal to the specified
object, and false otherwise. |
int |
hashCode() |
Returns a hash code value for the object.
|
java.lang.String |
toString() |
Returns a string representing the object.
|
public static final GradientPaintTransformType VERTICAL
public static final GradientPaintTransformType HORIZONTAL
public static final GradientPaintTransformType CENTER_VERTICAL
public static final GradientPaintTransformType CENTER_HORIZONTAL
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
true
if this object is equal to the specified
object, and false
otherwise.equals
in class java.lang.Object
o
- the other object.public int hashCode()
hashCode
in class java.lang.Object