FreeHEP API
Version current

org.freehep.graphicsio.swf
Class Gradient

java.lang.Object
  extended byorg.freehep.graphicsio.swf.Gradient

public class Gradient
extends Object

SWF Gradient.

Version:
$Id: Gradient.java,v 1.1 2001/11/29 01:45:31 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
Gradient.java

Constructor Summary
Gradient(int ratio, Color color)
           
Gradient(int ratio, int endRatio, Color color, Color endColor)
           
Gradient(SWFInputStream input, boolean hasAlpha, boolean isMorphStyle)
           
 
Method Summary
 String toString()
           
 void write(SWFOutputStream swf, boolean hasAlpha)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gradient

public Gradient(int ratio,
                Color color)

Gradient

public Gradient(int ratio,
                int endRatio,
                Color color,
                Color endColor)

Gradient

public Gradient(SWFInputStream input,
                boolean hasAlpha,
                boolean isMorphStyle)
         throws IOException
Method Detail

write

public void write(SWFOutputStream swf,
                  boolean hasAlpha)
           throws IOException
Throws:
IOException

toString

public String toString()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.