public class AFPGraphicsObjectInfo extends AFPDataObjectInfo
DEFAULT_MAPPING_OPTION| Constructor and Description |
|---|
AFPGraphicsObjectInfo() |
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
getArea()
Returns the graphics area
|
AFPGraphics2D |
getGraphics2D()
Returns the AFP graphics 2D implementation
|
String |
getMimeType()
Returns the mime type of this data object
|
org.apache.xmlgraphics.java2d.Graphics2DImagePainter |
getPainter()
Returns the graphics painter
|
void |
setArea(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
|
String |
toString() |
getData, getDataHeight, getDataHeightRes, getDataWidth, getDataWidthRes, getMappingOption, getObjectAreaInfo, getObjectType, getResourceInfo, getTransparencyMask, getUri, isCreatePageSegment, setCreatePageSegment, setData, setDataHeight, setDataHeightRes, setDataWidth, setDataWidthRes, setMappingOption, setMimeType, setObjectAreaInfo, setResourceInfo, setTransparencyMask, setUripublic org.apache.xmlgraphics.java2d.Graphics2DImagePainter getPainter()
public void setPainter(org.apache.xmlgraphics.java2d.Graphics2DImagePainter graphicsPainter)
graphicsPainter - the graphics painterpublic Rectangle2D getArea()
public void setArea(Rectangle2D area)
area - the graphics object areapublic void setGraphics2D(AFPGraphics2D g2d)
g2d - the AFP graphics 2D implementationpublic AFPGraphics2D getGraphics2D()
public String toString()
toString in class AFPDataObjectInfopublic String getMimeType()
getMimeType in class AFPDataObjectInfoCopyright © 2023 Apache Software Foundation. All rights reserved.