| java.lang.Object org.jfree.ui.StandardGradientPaintTransformer
Method Summary | |
public Object | clone() Returns a clone of the transformer. | public boolean | equals(Object obj) Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public GradientPaintTransformType | getType() Returns the type of transform. | public int | hashCode() Returns a hash code for this object. | public GradientPaint | transform(GradientPaint paint, Shape target) Transforms a GradientPaint instance to fit the specified
target shape.
Parameters: paint - the original paint (null not permitted). Parameters: target - the target shape (null not permitted). |
StandardGradientPaintTransformer | public StandardGradientPaintTransformer(GradientPaintTransformType type)(Code) | | Creates a new transformer with the specified type.
Parameters: type - the transform type (null not permitted). |
equals | public boolean equals(Object obj)(Code) | | Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
hashCode | public int hashCode()(Code) | | Returns a hash code for this object.
A hash code. |
transform | public GradientPaint transform(GradientPaint paint, Shape target)(Code) | | Transforms a GradientPaint instance to fit the specified
target shape.
Parameters: paint - the original paint (null not permitted). Parameters: target - the target shape (null not permitted). The transformed paint. |
|
|