org.freehep.graphicsio.cgm
Class TextAlignment
java.lang.Object
org.freehep.util.io.Tag
org.freehep.graphicsio.cgm.CGMTag
org.freehep.graphicsio.cgm.TextAlignment
- public class TextAlignment
- extends CGMTag
TextAlignment TAG.
- Version:
- $Id: TextAlignment.java,v 1.1 2001/11/29 01:45:27 duns Exp $
- Author:
- Mark Donszelmann, Charles Loomis
- Source Code:
- TextAlignment.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. |
NORMAL_HORIZONTAL
public static final int NORMAL_HORIZONTAL
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
CENTRE
public static final int CENTRE
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
CONTINUOUS_HORIZONTAL
public static final int CONTINUOUS_HORIZONTAL
- See Also:
- Constant Field Values
NORMAL_VERTICAL
public static final int NORMAL_VERTICAL
- See Also:
- Constant Field Values
TOP
public static final int TOP
- See Also:
- Constant Field Values
CAP
public static final int CAP
- See Also:
- Constant Field Values
HALF
public static final int HALF
- See Also:
- Constant Field Values
BASE
public static final int BASE
- See Also:
- Constant Field Values
BOTTOM
public static final int BOTTOM
- See Also:
- Constant Field Values
CONTINUOUS_VERTICAL
public static final int CONTINUOUS_VERTICAL
- See Also:
- Constant Field Values
TextAlignment
public TextAlignment()
TextAlignment
public TextAlignment(int horizontalType,
int verticalType,
double horizontal,
double vertical)
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.