FreeHEP API
Version current

org.freehep.graphicsio.cgm
Class InteriorStyle

java.lang.Object
  extended byorg.freehep.util.io.Tag
      extended byorg.freehep.graphicsio.cgm.CGMTag
          extended byorg.freehep.graphicsio.cgm.InteriorStyle

public class InteriorStyle
extends CGMTag

InteriorStyle TAG.

Version:
$Id: InteriorStyle.java,v 1.1 2001/11/29 01:45:26 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
InteriorStyle.java

Field Summary
static int EMPTY
           
static int GEOMETRIC_PATTERN
           
static int HATCH
           
static int HOLLOW
           
static int INTERPOLATED
           
static int PATTERN
           
static int SOLID
           
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Constructor Summary
InteriorStyle()
           
InteriorStyle(int style)
           
 
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.
 
Methods inherited from class org.freehep.graphicsio.cgm.CGMTag
read, read, toString, write
 
Methods inherited from class org.freehep.util.io.Tag
getName, getTag, getTagType, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HOLLOW

public static final int HOLLOW
See Also:
Constant Field Values

SOLID

public static final int SOLID
See Also:
Constant Field Values

PATTERN

public static final int PATTERN
See Also:
Constant Field Values

HATCH

public static final int HATCH
See Also:
Constant Field Values

EMPTY

public static final int EMPTY
See Also:
Constant Field Values

GEOMETRIC_PATTERN

public static final int GEOMETRIC_PATTERN
See Also:
Constant Field Values

INTERPOLATED

public static final int INTERPOLATED
See Also:
Constant Field Values
Constructor Detail

InteriorStyle

public InteriorStyle()

InteriorStyle

public InteriorStyle(int style)
Method Detail

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 tag
cgm - 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 tag
cgm - Clear Text CGM Writer
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.