com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator

    • Method Detail

      • clear

        public static void clear()
      • getCommandName

        public String getCommandName()

        Gets operator name.

        Returns:
        String value
      • getParameters

        public ArrayList<com.aspose.pdf.engine.commondata.pagecontent.operators.commands.CommandParameter> getParameters()

        Gets array of operator parameters.

        Returns:
        ArrayList of CommandParameter value
      • getCommand

        public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand getCommand()

        Gets command

        Returns:
        ICommand object
      • getIndex

        public int getIndex()

        Get Operator index in page operators list.

        Returns:
        int value
      • setIndex

        public void setIndex(int value)

        Set Operator index in page operators list.

        Parameters:
        value - int value
      • reset

        public void reset()
        For internal usage only
      • accept

        public abstract void accept(IOperatorSelector visitor)

        Accepts visitor IOperatorSelector which provides operators processing.

        Parameters:
        visitor - Visitor object
      • toString

        public String toString()

        Translates command and parameters into string representation.

        Overrides:
        toString in class Object
        Returns:
        Operator text
      • isTextShowOperator

        public static boolean isTextShowOperator(Operator op)

        Determines if the operator is operator which responsible for text output (Tj, TJ, etc)

        Parameters:
        op - Operator object
        Returns:
        True if this is text output operator