|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.anim.dom.SVGOMElement.UnitContext
protected class SVGOMElement.UnitContext
To resolve the units.
| Constructor Summary | |
|---|---|
protected |
SVGOMElement.UnitContext()
|
| Method Summary | |
|---|---|
Element |
getElement()
Returns the element. |
float |
getFontSize()
Returns the font-size value. |
float |
getPixelToMM()
Returns the size of a px CSS unit in millimeters. |
float |
getPixelUnitToMillimeter()
Returns the size of a px CSS unit in millimeters. |
float |
getViewportHeight()
Returns the viewport height used to compute units. |
float |
getViewportWidth()
Returns the viewport width used to compute units. |
float |
getXHeight()
Returns the x-height value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SVGOMElement.UnitContext()
| Method Detail |
|---|
public Element getElement()
getElement in interface UnitProcessor.Contextpublic float getPixelUnitToMillimeter()
getPixelUnitToMillimeter in interface UnitProcessor.Contextpublic float getPixelToMM()
getPixelToMM in interface UnitProcessor.ContextgetPixelUnitToMillimeter()public float getFontSize()
getFontSize in interface UnitProcessor.Contextpublic float getXHeight()
getXHeight in interface UnitProcessor.Contextpublic float getViewportWidth()
getViewportWidth in interface UnitProcessor.Contextpublic float getViewportHeight()
getViewportHeight in interface UnitProcessor.Context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||