DSCParserConstants
, DSCComment
, DSCEvent
DSCCommentPageHiResBoundingBox
public class DSCCommentHiResBoundingBox extends DSCCommentBoundingBox
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE
Constructor | Description |
---|---|
DSCCommentHiResBoundingBox() |
Creates a new instance.
|
DSCCommentHiResBoundingBox(java.awt.geom.Rectangle2D bbox) |
Creates a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
void |
generate(PSGenerator gen) |
Writes the event to the given PSGenerator.
|
java.lang.String |
getName() |
Returns the name of the DSC comment.
|
asDSCComment, getEventType, isAtend, isDSCComment, splitParams
asLine, isComment, isHeaderComment, isLine
getBoundingBox, hasValues, parseValue, setBoundingBox
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-2016 The Apache Software Foundation. All Rights Reserved.