org.apache.fop.svg
Class SVGArea
java.lang.Object
org.apache.fop.layout.Box
org.apache.fop.layout.Area
org.apache.fop.svg.SVGArea
public class SVGArea
- extends Area
class representing an SVG area in which the SVG graphics sit
Fields inherited from class org.apache.fop.layout.Area |
allocationWidth, areaClass, background, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, maxHeight, page, tableCellXOffset |
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, addInlineSpace, end, getAbsoluteHeight, getAllocationWidth, getBackground, getBorderAndPadding, getBorderBottomWidth, getBorderLeftWidth, getBorderRightWidth, getBorderTopWidth, getChildren, getContentHeight, getContentWidth, getfoCreator, getFontInfo, getFontState, getGeneratedBy, getHeight, getIDReferences, getMaxHeight, getNearestAncestorAreaContainer, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getParent, getTableCellXOffset, hasChildren, hasNonSpaceChildren, increaseHeight, isFirst, isFirst, isLast, isLast, remove, removeChild, removeChild, setAbsoluteHeight, setAllocationWidth, setBackground, setBorderAndPadding, setGeneratedBy, setHeight, setIDReferences, setMaxHeight, setPage, setParent, setTableCellXOffset, spaceLeft, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGArea
public SVGArea(FontState fontState,
float width,
float height)
- construct an SVG area
- Parameters:
fontState
- the font statewidth
- the width of the areaheight
- the height of the area
setSVGDocument
public void setSVGDocument(Document doc)
getSVGDocument
public Document getSVGDocument()
getWidth
public int getWidth()
render
public void render(Renderer renderer)
- render the SVG.
- Specified by:
render
in class Box
- Parameters:
renderer
- the Renderer to use
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.