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.ReplacedElement
public int getIntrinsicHeight()
getIntrinsicHeight
in interface org.xhtmlrenderer.extend.ReplacedElement
public Point getLocation()
getLocation
in interface org.xhtmlrenderer.extend.ReplacedElement
public void setLocation(int x, int y)
setLocation
in interface org.xhtmlrenderer.extend.ReplacedElement
public org.xhtmlrenderer.extend.FSImage getImage()
public void detach(org.xhtmlrenderer.layout.LayoutContext c)
detach
in interface org.xhtmlrenderer.extend.ReplacedElement
public boolean isRequiresInteractivePaint()
isRequiresInteractivePaint
in interface org.xhtmlrenderer.extend.ReplacedElement
public void paint(org.xhtmlrenderer.render.RenderingContext c, ITextOutputDevice outputDevice, org.xhtmlrenderer.render.BlockBox box)
paint
in interface ITextReplacedElement
public int getBaseline()
getBaseline
in interface org.xhtmlrenderer.extend.ReplacedElement
public boolean hasBaseline()
hasBaseline
in interface org.xhtmlrenderer.extend.ReplacedElement
Copyright © 2021. All rights reserved.