org.jhotdraw.samples.svg
Interface Gradient

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
LinearGradient, RadialGradient

public interface Gradient
extends java.lang.Cloneable

Represents an SVG Gradient.

Version:
1.0 December 9, 2006 Created.
Author:
Werner Randelshofer

Method Summary
 java.lang.Object clone()
           
 java.awt.Paint getPaint(Figure f, double opacity)
           
 boolean isRelativeToFigureBounds()
           
 void makeRelativeToFigureBounds(Figure f)
           
 void transform(java.awt.geom.AffineTransform tx)
           
 

Method Detail

getPaint

java.awt.Paint getPaint(Figure f,
                        double opacity)

isRelativeToFigureBounds

boolean isRelativeToFigureBounds()

transform

void transform(java.awt.geom.AffineTransform tx)

clone

java.lang.Object clone()

makeRelativeToFigureBounds

void makeRelativeToFigureBounds(Figure f)