org.apache.fop.svg
Class SVGArea

java.lang.Object
  extended by org.apache.fop.layout.Box
      extended by org.apache.fop.layout.Area
          extended by org.apache.fop.svg.SVGArea

public class SVGArea
extends Area

class representing an SVG area in which the SVG graphics sit


Field Summary
 
Fields inherited from class org.apache.fop.layout.Area
allocationWidth, areaClass, background, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, maxHeight, page, tableCellXOffset
 
Fields inherited from class org.apache.fop.layout.Box
areaTree, parent
 
Constructor Summary
SVGArea(FontState fontState, float width, float height)
          construct an SVG area
 
Method Summary
 Document getSVGDocument()
           
 int getWidth()
           
 void render(Renderer renderer)
          render the SVG.
 void setSVGDocument(Document doc)
           
 
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
 

Constructor Detail

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
Method Detail

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.