public class DSCCommentHiResBoundingBox extends DSCCommentBoundingBox
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE
Constructor and Description |
---|
DSCCommentHiResBoundingBox()
Creates a new instance.
|
DSCCommentHiResBoundingBox(java.awt.geom.Rectangle2D bbox)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
generate(PSGenerator gen)
Writes the event to the given PSGenerator.
|
java.lang.String |
getName()
Returns the name of the DSC comment.
|
getBoundingBox, hasValues, parseValue, setBoundingBox
asDSCComment, getEventType, isAtend, isDSCComment, splitParams
asLine, isComment, isHeaderComment, isLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asLine, isComment, isHeaderComment, isLine
public DSCCommentHiResBoundingBox()
public DSCCommentHiResBoundingBox(java.awt.geom.Rectangle2D bbox)
bbox
- the bounding boxpublic java.lang.String getName()
getName
in interface DSCComment
getName
in class DSCCommentBoundingBox
public void generate(PSGenerator gen) throws java.io.IOException
generate
in interface DSCComment
generate
in interface DSCEvent
generate
in class DSCCommentBoundingBox
gen
- the PSGenerator to write tojava.io.IOException
- In case of an I/O errorDSCEvent.generate(
org.apache.xmlgraphics.ps.PSGenerator)
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.