Interface UnitProcessor.Context

    • Method Detail

      • getElement

        org.w3c.dom.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:
        getPixelUnitToMillimeter()
      • 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.