com.aspose.pdf.operators

Class SetCharacterSpacing



  • public class SetCharacterSpacing
    extends TextStateOperator

    Class representing Tc operator (set character spacing).

    • Constructor Detail

      • SetCharacterSpacing

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

        Constructor for operator class.

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

        public SetCharacterSpacing(double charSpacing)

        Initializes operator.

        Parameters:
        charSpacing - Character spacing.
    • Method Detail

      • getCharSpacing

        public double getCharSpacing()

        Gets the character spacing.

        Returns:
        character spacing.
      • setCharSpacing

        public void setCharSpacing(double value)

        Sets the character spacing.

        Parameters:
        value - character spacing.
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

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