org.freehep.graphicsio.swf
Class ColorXform
java.lang.Object
org.freehep.graphicsio.swf.ColorXform
public class ColorXform
- extends java.lang.Object
SWF Color Transform
- Version:
- $Id: ColorXform.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- Mark Donszelmann, Charles Loomis
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.io.IOException
- Read a color transform from the stream.
- Throws:
java.io.IOException
transform
public java.awt.Color transform(java.awt.Color c)
write
public void write(SWFOutputStream swf,
boolean hasAlpha)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2007 FreeHEP. All Rights Reserved.