org.freehep.graphicsio.cgm
Class HatchIndex
java.lang.Object
org.freehep.util.io.Tag
org.freehep.graphicsio.cgm.CGMTag
org.freehep.graphicsio.cgm.HatchIndex
- public class HatchIndex
- extends CGMTag
HatchIndex TAG.
- Version:
- $Id: HatchIndex.java,v 1.1 2001/11/29 01:45:26 duns Exp $
- Author:
- Mark Donszelmann, Charles Loomis
- Source Code:
- HatchIndex.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. |
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
POSITIVE_SLOPE
public static final int POSITIVE_SLOPE
- See Also:
- Constant Field Values
NEGATIVE_SLOPE
public static final int NEGATIVE_SLOPE
- See Also:
- Constant Field Values
HV_CROSSHATCH
public static final int HV_CROSSHATCH
- See Also:
- Constant Field Values
PN_CROSSHATCH
public static final int PN_CROSSHATCH
- See Also:
- Constant Field Values
HatchIndex
public HatchIndex()
HatchIndex
public HatchIndex(int index)
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.