public class AFPRendererImageInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.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 java.awt.Point |
origin
the origin
|
protected java.awt.geom.Rectangle2D |
pos
the current pos
|
protected RendererContext |
rendererContext
the renderer context
|
protected java.lang.String |
uri
the image uri
|
Constructor and Description |
---|
AFPRendererImageInfo(java.lang.String uri,
java.awt.geom.Rectangle2D pos,
java.awt.Point origin,
org.apache.xmlgraphics.image.loader.ImageInfo info,
org.apache.xmlgraphics.image.loader.Image img,
RendererContext rendererContext,
java.util.Map foreignAttributes)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.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
|
java.awt.Point |
getOrigin()
Return the origin
|
java.awt.geom.Rectangle2D |
getPosition()
Return the position
|
RendererContext |
getRendererContext()
Returns the renderer context
|
java.lang.String |
getURI()
Return the uri
|
void |
setRendererContext(RendererContext rendererContext)
Sets the renderer context
|
java.lang.String |
toString() |
protected final java.lang.String uri
protected final java.awt.geom.Rectangle2D pos
protected final java.awt.Point origin
protected final java.util.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(java.lang.String uri, java.awt.geom.Rectangle2D pos, java.awt.Point origin, org.apache.xmlgraphics.image.loader.ImageInfo info, org.apache.xmlgraphics.image.loader.Image img, RendererContext rendererContext, java.util.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 java.util.Map getForeignAttributes()
public java.lang.String getURI()
public java.awt.Point getOrigin()
public java.awt.geom.Rectangle2D getPosition()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.