JHotDraw 7.4.1

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:
$Id: Gradient.java 604 2010-01-09 12:00:29Z rawcoder $
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)

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.