com.aspose.pdf.operators

Class SetTextLeading



  • public class SetTextLeading
    extends TextStateOperator

    Class represenging TL operator (set text leading).

    • Constructor Detail

      • SetTextLeading

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

        public SetTextLeading(double leading)

        Constructor for text leadign operator.

        Parameters:
        leading - Text leading.
    • Method Detail

      • getLeading

        public double getLeading()

        Gets the text leading.

        Returns:
        double value
      • setLeading

        public void setLeading(double value)

        Sets the text leading.

        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.
      • toString

        public String toString()

        Produces text code of operator.

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