public class ITextImageElement extends java.lang.Object implements ITextReplacedElement
?????? |
---|
ITextImageElement(FSImage image) |
?????? | ????? |
---|---|
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.
|
public ITextImageElement(FSImage image)
public int getIntrinsicWidth()
getIntrinsicWidth
???? ReplacedElement
public int getIntrinsicHeight()
getIntrinsicHeight
???? ReplacedElement
public java.awt.Point getLocation()
ReplacedElement
getLocation
???? ReplacedElement
public void setLocation(int x, int y)
ReplacedElement
setLocation
???? ReplacedElement
x
- new horizontal posy
- new vertical pospublic FSImage getImage()
public void detach(LayoutContext c)
detach
???? ReplacedElement
public boolean isRequiresInteractivePaint()
isRequiresInteractivePaint
???? ReplacedElement
public void paint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)
paint
???? ITextReplacedElement
public int getBaseline()
getBaseline
???? ReplacedElement
public boolean hasBaseline()
hasBaseline
???? ReplacedElement