net.sourceforge.jeuclid.converter
Class ConverterPlugin.DocumentWithDimension

java.lang.Object
  extended by net.sourceforge.jeuclid.converter.ConverterPlugin.DocumentWithDimension
Enclosing interface:
ConverterPlugin

public static class ConverterPlugin.DocumentWithDimension
extends Object

Internal class describing an XML document and the dimensions of its default view.


Constructor Summary
ConverterPlugin.DocumentWithDimension(Document doc, Dimension dim, float bline)
           
 
Method Summary
 float getBaseline()
           
 Dimension getDimension()
           
 Document getDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterPlugin.DocumentWithDimension

public ConverterPlugin.DocumentWithDimension(Document doc,
                                             Dimension dim,
                                             float bline)
Method Detail

getDocument

public Document getDocument()
Returns:
the document resulting from this conversion, a suptype of Document (e.g. SVGDocument) if possible.

getDimension

public Dimension getDimension()
Returns:
The dimensions from this conversion

getBaseline

public float getBaseline()
Returns:
the position of the baseline in pixels from the bottom.


Copyright © 2002-2010 The JEuclid project. All Rights Reserved.