org.apache.fop.dom.svg
Class SVGArea
org.apache.fop.layout.Box
|
+--org.apache.fop.layout.Area
|
+--org.apache.fop.dom.svg.SVGArea
- public class SVGArea
- extends Area
- implements GetSVGDocument
class representing an SVG area in which the SVG graphics sit
Field Summary |
(package private) SVGDocument | doc |
Fields inherited from class org.apache.fop.layout.Area |
borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderStyleBottom, borderStyleLeft, borderStyleRight, borderStyleTop, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop |
Constructor Summary |
SVGArea(FontState fontState, float width, float height) construct an SVG area |
Methods inherited from class org.apache.fop.layout.Area |
addChild, addChildAtStart, addDisplaySpace, end, getAbsoluteHeight, getAllocationWidth, getBackgroundColor, getChildren, getContentHeight, getContentWidth, getFontInfo, getFontState, getHeight, getIDReferences, getMaxHeight, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getParent, getTableCellXOffset, increaseAbsoluteHeight, increaseHeight, remove, removeChild, removeChild, setAbsoluteHeight, setBackgroundColor, setBorderColor, setBorderStyle, setBorderWidth, setHeight, setIDReferences, setMaxHeight, setPadding, setPage, setTableCellXOffset, spaceLeft, start |
doc
SVGDocument doc
SVGArea
public SVGArea(FontState fontState, float width, float height)
- construct an SVG area
- Parameters:
- fontState - the font state
- width - the width of the area
- height - the height of the area
getSVGDocument
public SVGDocument getSVGDocument()
throws DOMException
getWidth
public int getWidth()
render
public void render(Renderer renderer)
- render the SVG.
- Parameters:
- renderer - the Renderer to use
setSVGDocument
public void setSVGDocument(SVGDocument doc)