public class AFPGraphicsObjectInfo extends AFPDataObjectInfo
DEFAULT_MAPPING_OPTION| Constructor and Description |
|---|
AFPGraphicsObjectInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Rectangle2D |
getArea()
Returns the graphics area
|
AFPGraphics2D |
getGraphics2D()
Returns the AFP graphics 2D implementation
|
java.lang.String |
getMimeType()
Returns the mime type of this data object
|
org.apache.xmlgraphics.java2d.Graphics2DImagePainter |
getPainter()
Returns the graphics painter
|
void |
setArea(java.awt.geom.Rectangle2D area)
Sets the graphics area area
|
void |
setGraphics2D(AFPGraphics2D g2d)
Sets the AFP graphics 2D implementation
|
void |
setPainter(org.apache.xmlgraphics.java2d.Graphics2DImagePainter graphicsPainter)
Sets the graphics painter
|
java.lang.String |
toString() |
getData, getDataHeight, getDataHeightRes, getDataWidth, getDataWidthRes, getMappingOption, getObjectAreaInfo, getObjectType, getResourceInfo, getUri, isCreatePageSegment, setCreatePageSegment, setData, setDataHeight, setDataHeightRes, setDataWidth, setDataWidthRes, setMappingOption, setMimeType, setObjectAreaInfo, setResourceInfo, setUripublic org.apache.xmlgraphics.java2d.Graphics2DImagePainter getPainter()
public void setPainter(org.apache.xmlgraphics.java2d.Graphics2DImagePainter graphicsPainter)
graphicsPainter - the graphics painterpublic java.awt.geom.Rectangle2D getArea()
public void setArea(java.awt.geom.Rectangle2D area)
area - the graphics object areapublic void setGraphics2D(AFPGraphics2D g2d)
g2d - the AFP graphics 2D implementationpublic AFPGraphics2D getGraphics2D()
public java.lang.String toString()
toString in class AFPDataObjectInfopublic java.lang.String getMimeType()
getMimeType in class AFPDataObjectInfoCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.