Package org.apache.fop.render.afp
Class AFPRendererImageInfo
java.lang.Object
org.apache.fop.render.afp.AFPRendererImageInfo
The AFP image information
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Map
the foreign attributesprotected final org.apache.xmlgraphics.image.loader.Image
the imageprotected final org.apache.xmlgraphics.image.loader.ImageInfo
the image infoprotected final Point
the originprotected final Rectangle2D
the current posprotected RendererContext
the renderer contextprotected final String
the image uri -
Constructor Summary
ConstructorDescriptionAFPRendererImageInfo
(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 -
Method Summary
Modifier and TypeMethodDescriptionReturn the foreign attributesorg.apache.xmlgraphics.image.loader.Image
getImage()
Returns the imageorg.apache.xmlgraphics.image.loader.ImageInfo
Returns the image infoReturn the originReturn the positionReturns the renderer contextgetURI()
Return the urivoid
setRendererContext
(RendererContext rendererContext) Sets the renderer contexttoString()
-
Field Details
-
uri
the image uri -
pos
the current pos -
origin
the origin -
foreignAttributes
the foreign attributes -
info
protected final org.apache.xmlgraphics.image.loader.ImageInfo infothe image info -
img
protected final org.apache.xmlgraphics.image.loader.Image imgthe image -
rendererContext
the renderer context
-
-
Constructor Details
-
AFPRendererImageInfo
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) Main constructor- Parameters:
uri
- the image uripos
- the image content areaorigin
- the current positioninfo
- the image infoimg
- the imagerendererContext
- the renderer contextforeignAttributes
- the foreign attributes
-
-
Method Details
-
setRendererContext
Sets the renderer context- Parameters:
rendererContext
- the renderer context
-
getImageInfo
public org.apache.xmlgraphics.image.loader.ImageInfo getImageInfo()Returns the image info- Returns:
- the image info
-
getImage
public org.apache.xmlgraphics.image.loader.Image getImage()Returns the image- Returns:
- the image
-
getRendererContext
Returns the renderer context- Returns:
- the renderer context
-
getForeignAttributes
Return the foreign attributes- Returns:
- the foreign attributes
-
getURI
Return the uri- Returns:
- the uri
-
getOrigin
Return the origin- Returns:
- the origin
-
getPosition
Return the position- Returns:
- the position
-
toString
-