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