public class SVGReplacedElement extends Object implements org.xhtmlrenderer.pdf.ITextReplacedElement
Constructor and Description |
---|
SVGReplacedElement(Document svg,
int cssWidth,
int cssHeight) |
Modifier and Type | Method and Description |
---|---|
void |
detach(org.xhtmlrenderer.layout.LayoutContext c) |
int |
getBaseline() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
Point |
getLocation() |
boolean |
hasBaseline() |
boolean |
isRequiresInteractivePaint() |
void |
paint(org.xhtmlrenderer.render.RenderingContext renderingContext,
org.xhtmlrenderer.pdf.ITextOutputDevice outputDevice,
org.xhtmlrenderer.render.BlockBox blockBox) |
void |
setLocation(int x,
int y) |
static String |
toString(Document doc) |
public SVGReplacedElement(Document svg, int cssWidth, int cssHeight)
public void detach(org.xhtmlrenderer.layout.LayoutContext c)
detach
in interface org.xhtmlrenderer.extend.ReplacedElement
public int getBaseline()
getBaseline
in interface org.xhtmlrenderer.extend.ReplacedElement
public int getIntrinsicWidth()
getIntrinsicWidth
in interface org.xhtmlrenderer.extend.ReplacedElement
public int getIntrinsicHeight()
getIntrinsicHeight
in interface org.xhtmlrenderer.extend.ReplacedElement
public boolean hasBaseline()
hasBaseline
in interface org.xhtmlrenderer.extend.ReplacedElement
public boolean isRequiresInteractivePaint()
isRequiresInteractivePaint
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 void paint(org.xhtmlrenderer.render.RenderingContext renderingContext, org.xhtmlrenderer.pdf.ITextOutputDevice outputDevice, org.xhtmlrenderer.render.BlockBox blockBox)
paint
in interface org.xhtmlrenderer.pdf.ITextReplacedElement
Copyright © 2015. All rights reserved.