Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.pdf
Class ITextImageElement

java.lang.Object
  extended by org.xhtmlrenderer.pdf.ITextImageElement
All Implemented Interfaces:
ReplacedElement, ITextReplacedElement

public class ITextImageElement
extends java.lang.Object
implements ITextReplacedElement


Constructor Summary
ITextImageElement(FSImage image)
           
 
Method Summary
 void detach(LayoutContext c)
           
 int getBaseline()
           
 FSImage getImage()
           
 int getIntrinsicHeight()
           
 int getIntrinsicWidth()
           
 java.awt.Point getLocation()
          Returns the current location where the element will be rendered on the canvas
 boolean hasBaseline()
           
 boolean isRequiresInteractivePaint()
           
 void paint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)
           
 void setLocation(int x, int y)
          Assigns the new locations where the element will be rendered.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ITextImageElement

public ITextImageElement(FSImage image)
Method Detail

getIntrinsicWidth

public int getIntrinsicWidth()
Specified by:
getIntrinsicWidth in interface ReplacedElement

getIntrinsicHeight

public int getIntrinsicHeight()
Specified by:
getIntrinsicHeight in interface ReplacedElement

getLocation

public java.awt.Point getLocation()
Description copied from interface: ReplacedElement
Returns the current location where the element will be rendered on the canvas

Specified by:
getLocation in interface ReplacedElement
Returns:
see desc

setLocation

public void setLocation(int x,
                        int y)
Description copied from interface: ReplacedElement
Assigns the new locations where the element will be rendered.

Specified by:
setLocation in interface ReplacedElement
Parameters:
x - new horizontal pos
y - new vertical pos

getImage

public FSImage getImage()

detach

public void detach(LayoutContext c)
Specified by:
detach in interface ReplacedElement

isRequiresInteractivePaint

public boolean isRequiresInteractivePaint()
Specified by:
isRequiresInteractivePaint in interface ReplacedElement

paint

public void paint(RenderingContext c,
                  ITextOutputDevice outputDevice,
                  BlockBox box)
Specified by:
paint in interface ITextReplacedElement

getBaseline

public int getBaseline()
Specified by:
getBaseline in interface ReplacedElement

hasBaseline

public boolean hasBaseline()
Specified by:
hasBaseline in interface ReplacedElement

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home