org.jfree.ui
Class StandardGradientPaintTransformer
java.lang.Objectorg.jfree.ui.StandardGradientPaintTransformer
- Cloneable, GradientPaintTransformer, PublicCloneable, Serializable
Transforms a GradientPaint to range over the width of a target
shape.
Object | clone()- Returns a clone of the transformer.
|
boolean | equals(Object obj)- Tests this instance for equality with an arbitrary object.
|
int | hashCode()- Returns a hash code for this object.
|
GradientPaint | transform(GradientPaint paint, Shape target)- Transforms a
GradientPaint instance.
|
clone
public Object clone()
throws CloneNotSupportedException Returns a clone of the transformer.
- clone in interface PublicCloneable
equals
public boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.
obj - the object to test against (null permitted).
hashCode
public int hashCode()
Returns a hash code for this object.
transform
public GradientPaint transform(GradientPaint paint,
Shape target) Transforms a GradientPaint instance.
- transform in interface GradientPaintTransformer
paint - the original paint.target - the target shape.