public class AFPRendererImageInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected Map |
foreignAttributes
the foreign attributes
|
protected org.apache.xmlgraphics.image.loader.Image |
img
the image
|
protected org.apache.xmlgraphics.image.loader.ImageInfo |
info
the image info
|
protected Point |
origin
the origin
|
protected Rectangle2D |
pos
the current pos
|
protected RendererContext |
rendererContext
the renderer context
|
protected String |
uri
the image uri
|
Constructor and Description |
---|
AFPRendererImageInfo(String uri,
Rectangle2D pos,
Point origin,
org.apache.xmlgraphics.image.loader.ImageInfo info,
org.apache.xmlgraphics.image.loader.Image img,
RendererContext rendererContext,
Map foreignAttributes)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
Map |
getForeignAttributes()
Return the foreign attributes
|
org.apache.xmlgraphics.image.loader.Image |
getImage()
Returns the image
|
org.apache.xmlgraphics.image.loader.ImageInfo |
getImageInfo()
Returns the image info
|
Point |
getOrigin()
Return the origin
|
Rectangle2D |
getPosition()
Return the position
|
RendererContext |
getRendererContext()
Returns the renderer context
|
String |
getURI()
Return the uri
|
void |
setRendererContext(RendererContext rendererContext)
Sets the renderer context
|
String |
toString() |
protected final String uri
protected final Rectangle2D pos
protected final Point origin
protected final Map foreignAttributes
protected final org.apache.xmlgraphics.image.loader.ImageInfo info
protected final org.apache.xmlgraphics.image.loader.Image img
protected RendererContext rendererContext
public AFPRendererImageInfo(String uri, Rectangle2D pos, Point origin, org.apache.xmlgraphics.image.loader.ImageInfo info, org.apache.xmlgraphics.image.loader.Image img, RendererContext rendererContext, Map foreignAttributes)
uri
- the image uripos
- the image content areaorigin
- the current positioninfo
- the image infoimg
- the imagerendererContext
- the renderer contextforeignAttributes
- the foreign attributespublic void setRendererContext(RendererContext rendererContext)
rendererContext
- the renderer contextpublic org.apache.xmlgraphics.image.loader.ImageInfo getImageInfo()
public org.apache.xmlgraphics.image.loader.Image getImage()
public RendererContext getRendererContext()
public Map getForeignAttributes()
public String getURI()
public Point getOrigin()
public Rectangle2D getPosition()
Copyright © 2025 Apache Software Foundation. All rights reserved.