com.aspose.pdf.operators

Class SetWordSpacing



  • public class SetWordSpacing
    extends TextStateOperator

    Class representing Tw operator (set word spacing).

    • Constructor Detail

      • SetWordSpacing

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

        public SetWordSpacing(double wordSpacing)

        Initializes operator.

        Parameters:
        wordSpacing - Word spacing.
    • Method Detail

      • getWordSpacing

        public double getWordSpacing()

        Gets the word spacing.

        Returns:
        double value
      • setWordSpacing

        public void setWordSpacing(double value)

        Sets the word spacing.

        Parameters:
        value - double value
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

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