Package org.apache.fop.render.afp
Class AFPRendererImageInfo
java.lang.Object
org.apache.fop.render.afp.AFPRendererImageInfo
The AFP image information
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Mapthe foreign attributesprotected final org.apache.xmlgraphics.image.loader.Imagethe imageprotected final org.apache.xmlgraphics.image.loader.ImageInfothe image infoprotected final Pointthe originprotected final Rectangle2Dthe current posprotected RendererContextthe renderer contextprotected final Stringthe image uri -
Constructor Summary
ConstructorsConstructorDescriptionAFPRendererImageInfo(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.ImagegetImage()Returns the imageorg.apache.xmlgraphics.image.loader.ImageInfoReturns the image infoReturn the originReturn the positionReturns the renderer contextgetURI()Return the urivoidsetRendererContext(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
-