org.freehep.graphicsio.cgm
Class CellArray
java.lang.Object
org.freehep.util.io.Tag
org.freehep.graphicsio.cgm.CGMTag
org.freehep.graphicsio.cgm.CellArray
- public class CellArray
- extends CGMTag
CellArray TAG.
- Version:
- $Id: CellArray.java,v 1.2 2003/09/29 23:51:58 duns Exp $
- Author:
- Mark Donszelmann, Charles Loomis, Ian Graham - fixed bugs and completed usable implementation
- Source Code:
- CellArray.java
Method Summary |
void |
write(int tagID,
CGMOutputStream cgm)
Writes the extra tag information to the outputstream in binary format.
|
void |
write(int tagID,
CGMWriter cgm)
Writes the full tag to the Writer in Clear Text format. |
RUN_LENGTH
public static final int RUN_LENGTH
- See Also:
- Constant Field Values
PACKED
public static final int PACKED
- See Also:
- Constant Field Values
CellArray
public CellArray()
CellArray
public CellArray(Point2D p,
Point2D q,
Point2D r,
Color[][] colorArray)
- Constructor for CellArray. Only 8-bit packed mode supported at present.
write
public void write(int tagID,
CGMOutputStream cgm)
throws IOException
- Description copied from class:
CGMTag
- Writes the extra tag information to the outputstream in binary format.
This implementation writes nothing, but concrete tags
may override this method.
This method is called just after the TagHeader is written.
- Overrides:
write
in class CGMTag
- Parameters:
tagID
- id of the tagcgm
- Binary CGM output stream
- Throws:
IOException
write
public void write(int tagID,
CGMWriter cgm)
throws IOException
- Description copied from class:
CGMTag
- Writes the full tag to the Writer in Clear Text format.
- Specified by:
write
in class CGMTag
- Parameters:
tagID
- id of the tagcgm
- Clear Text CGM Writer
- Throws:
IOException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.