org.freehep.graphicsio.cgm
Class LineCap
java.lang.Object
org.freehep.util.io.Tag
org.freehep.graphicsio.cgm.CGMTag
org.freehep.graphicsio.cgm.LineCap
- public class LineCap
- extends CGMTag
LineCap TAG.
- Version:
- $Id: LineCap.java,v 1.2 2002/01/22 08:15:30 duns Exp $
- Author:
- Mark Donszelmann, Charles Loomis
- Source Code:
- LineCap.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. |
UNSPECIFIED
public static final int UNSPECIFIED
- See Also:
- Constant Field Values
BUTT
public static final int BUTT
- See Also:
- Constant Field Values
ROUND
public static final int ROUND
- See Also:
- Constant Field Values
MATCH
public static final int MATCH
- See Also:
- Constant Field Values
SQUARE
public static final int SQUARE
- See Also:
- Constant Field Values
TRIANGLE
public static final int TRIANGLE
- See Also:
- Constant Field Values
LineCap
public LineCap()
LineCap
public LineCap(int cap)
LineCap
public LineCap(int cap,
int dash)
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.