Interface ISvgTextNodeRenderer

    • Method Detail

      • getTextContentLength

        @Deprecated
        float getTextContentLength​(float parentFontSize,
                                   PdfFont font)
        Deprecated.
        Gets text content length.
        Parameters:
        parentFontSize - parent font size
        font - current font
        Returns:
        text content length
      • getRelativeTranslation

        @Deprecated
        float[] getRelativeTranslation()
        Deprecated.
        This method is deprecated and will be replaced with new signature getRelativeTranslation(SvgDrawContext). This is needed because xMove/yMove can contain relative values, so SvgDrawContext is needed to resolve them.
        Returns:
        text relative translation
      • containsRelativeMove

        @Deprecated
        boolean containsRelativeMove()
        Deprecated.
        This method is deprecated and will be replaced with new signature containsRelativeMove(SvgDrawContext). This is needed because xMove/yMove can contain relative values, so SvgDrawContext is needed to resolve them.
        Returns:
        true if there is a relative move, false otherwise
      • containsAbsolutePositionChange

        @Deprecated
        boolean containsAbsolutePositionChange()
        Deprecated.
        This method is deprecated and will be replaced with new signature containsAbsolutePositionChange(SvgDrawContext). This is needed because x/y can contain relative values, so SvgDrawContext is needed to resolve them.
        Returns:
        true if an absolute position is specified via x/y attributes, false otherwise
      • getAbsolutePositionChanges

        @Deprecated
        float[][] getAbsolutePositionChanges()
        Deprecated.
        This method is deprecated and will be replaced with new signature getAbsolutePositionChanges(SvgDrawContext). This is needed because x/y can contain relative values, so SvgDrawContext is needed to resolve them.
        Returns:
        text absolute position