Package org.apache.batik.parser
Interface UnitProcessor.Context
- All Known Implementing Classes:
AbstractSVGLength.DefaultContext
,SVGOMElement.UnitContext
,UnitProcessor.DefaultContext
- Enclosing class:
- UnitProcessor
public static interface UnitProcessor.Context
Holds the informations needed to compute the units.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the element.float
Returns the font-size value.float
Returns the size of a px CSS unit in millimeters.float
Returns the size of a px CSS unit in millimeters.float
Returns the viewport height used to compute units.float
Returns the viewport width used to compute units.float
Returns the x-height value.
-
Method Details
-
getElement
Element getElement()Returns the element. -
getPixelUnitToMillimeter
float getPixelUnitToMillimeter()Returns the size of a px CSS unit in millimeters. -
getPixelToMM
float getPixelToMM()Returns the size of a px CSS unit in millimeters. This will be removed after next release.- See Also:
-
getFontSize
float getFontSize()Returns the font-size value. -
getXHeight
float getXHeight()Returns the x-height value. -
getViewportWidth
float getViewportWidth()Returns the viewport width used to compute units. -
getViewportHeight
float getViewportHeight()Returns the viewport height used to compute units.
-