com.aspose.pdf.operators

Class SetGlyphsPositionShowText



  • public class SetGlyphsPositionShowText
    extends TextShowOperator

    Class representing TJ operator (show text with glyph positioning).

    • Constructor Detail

      • SetGlyphsPositionShowText

        public SetGlyphsPositionShowText()

        Initializes operator.

      • SetGlyphsPositionShowText

        public SetGlyphsPositionShowText(int index,
                                         com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)

        Constructor for operator class.

        Parameters:
        index - Index of operator.
        command - Operator command.
      • SetGlyphsPositionShowText

        public SetGlyphsPositionShowText(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<GlyphPosition> glyphPositions)

        Constructor for TJ operator.

        Parameters:
        glyphPositions - List of Glyph Positions.
    • Method Detail

      • getGlyphPositions

        public com.aspose.ms.System.Collections.Generic.IGenericEnumerable<GlyphPosition> getGlyphPositions()

        Returns positions of glyphs.

        Returns:
        collection of GlyphPosition instances
      • getText

        public String getText()

        Gets text from operator argument (glyph positioning is ignored).

        Overrides:
        getText in class TextShowOperator
        Returns:
        String value
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

        Overrides:
        accept in class TextOperator
        Parameters:
        visitor - Visitor object.
      • toString

        public String toString()

        Returns text representation of operator.

        Overrides:
        toString in class Operator
        Returns:
        Text representation of operator.