FreeHEP API
Version current

org.freehep.graphicsio.swf
Class ColorXform

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

public class ColorXform
extends Object

SWF Color Transform

Version:
$Id: ColorXform.java,v 1.3 2002/03/06 15:58:03 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
ColorXform.java

Constructor Summary
ColorXform(int rx, int gx, int bx, int ax, int rp, int gp, int bp, int ap)
           
ColorXform(SWFInputStream swf, boolean hasAlpha)
          Read a color transform from the stream.
 
Method Summary
 String toString()
           
 Color transform(Color c)
           
 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

ColorXform

public ColorXform(int rx,
                  int gx,
                  int bx,
                  int ax,
                  int rp,
                  int gp,
                  int bp,
                  int ap)

ColorXform

public ColorXform(SWFInputStream swf,
                  boolean hasAlpha)
           throws IOException
Read a color transform from the stream.

Method Detail

transform

public Color transform(Color c)

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.