public class ITextImageElement extends Object implements ITextReplacedElement
| Constructor and Description |
|---|
ITextImageElement(org.xhtmlrenderer.extend.FSImage image) |
| Modifier and Type | Method and Description |
|---|---|
void |
detach(org.xhtmlrenderer.layout.LayoutContext c) |
int |
getBaseline() |
org.xhtmlrenderer.extend.FSImage |
getImage() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
Point |
getLocation() |
boolean |
hasBaseline() |
boolean |
isRequiresInteractivePaint() |
void |
paint(org.xhtmlrenderer.render.RenderingContext c,
ITextOutputDevice outputDevice,
org.xhtmlrenderer.render.BlockBox box) |
void |
setLocation(int x,
int y) |
public ITextImageElement(org.xhtmlrenderer.extend.FSImage image)
public int getIntrinsicWidth()
getIntrinsicWidth in interface org.xhtmlrenderer.extend.ReplacedElementpublic int getIntrinsicHeight()
getIntrinsicHeight in interface org.xhtmlrenderer.extend.ReplacedElementpublic Point getLocation()
getLocation in interface org.xhtmlrenderer.extend.ReplacedElementpublic void setLocation(int x,
int y)
setLocation in interface org.xhtmlrenderer.extend.ReplacedElementpublic org.xhtmlrenderer.extend.FSImage getImage()
public void detach(org.xhtmlrenderer.layout.LayoutContext c)
detach in interface org.xhtmlrenderer.extend.ReplacedElementpublic boolean isRequiresInteractivePaint()
isRequiresInteractivePaint in interface org.xhtmlrenderer.extend.ReplacedElementpublic void paint(org.xhtmlrenderer.render.RenderingContext c,
ITextOutputDevice outputDevice,
org.xhtmlrenderer.render.BlockBox box)
paint in interface ITextReplacedElementpublic int getBaseline()
getBaseline in interface org.xhtmlrenderer.extend.ReplacedElementpublic boolean hasBaseline()
hasBaseline in interface org.xhtmlrenderer.extend.ReplacedElementCopyright © 2021. All rights reserved.