com.aspose.pdf.operators

Class ShowText



  • public class ShowText
    extends TextShowOperator

    Class representing Tj operator (show text).

    • Constructor Detail

      • ShowText

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

        Initializes operator.

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

        public ShowText(int index,
                        String text)

        Initializes Tj opearor.

        Parameters:
        index - Index of operator in operators list.
        text - argument of the operator.
      • ShowText

        public ShowText(String text)

        Initializes Tj operator.

        Parameters:
        text - argument of the operator.
      • ShowText

        public ShowText(String text,
                        Font font)
      • ShowText

        public ShowText()

        Initializes of Tj operator.

    • Method Detail

      • setText

        public void setText(String value)

        Set text of operator.

        Overrides:
        setText in class TextShowOperator
        Parameters:
        value - 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()

        Produces text code of operator.

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