org.freehep.graphicsio.swf
Class Gradient

java.lang.Object
  extended by org.freehep.graphicsio.swf.Gradient

public class Gradient
extends Object

SWF Gradient.

Version:
$Id: Gradient.java 9979 2006-11-27 22:51:07Z duns $
Author:
Mark Donszelmann, Charles Loomis

Constructor Summary
Gradient(int ratio, Color color)
           
Gradient(int ratio, int endRatio, Color color, Color endColor)
           
Gradient(SWFInputStream input, boolean isMorphStyle, boolean hasAlpha)
           
 
Method Summary
 String toString()
           
 void write(SWFOutputStream swf, boolean isMorphStyle, 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 isMorphStyle,
                boolean hasAlpha)
         throws IOException
Throws:
IOException
Method Detail

write

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.