public class AFPGraphicsObjectInfo extends AFPDataObjectInfo
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, setUri
public 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 AFPDataObjectInfo
public java.lang.String getMimeType()
getMimeType
in class AFPDataObjectInfo
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.