com.aspose.pdf.operators

Class SetCharWidthBoundingBox



  • public class SetCharWidthBoundingBox
    extends Operator

    Class representing d1 operator (set glyph and bounding box).

    • Constructor Detail

      • SetCharWidthBoundingBox

        public SetCharWidthBoundingBox(double wx,
                                       double wy,
                                       double llx,
                                       double lly,
                                       double urx,
                                       double ury)

        Initializes operator.

        Parameters:
        wx - double value
        wy - double value
        llx - double value
        lly - double value
        urx - double value
        ury - double value
      • SetCharWidthBoundingBox

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

        Constructor for operator class.

        Parameters:
        index - Index of operator.
        command - Operator command.
    • Method Detail

      • getWx

        public double getWx()

        Horizontal displacement of glyph.

        Returns:
        double value
      • getWy

        public double getWy()

        Vertical displacement of glyph.

        Returns:
        double value
      • getLlx

        public double getLlx()

        Lower-left horizontal coordinate of bounding rectangle.

        Returns:
        double value
      • getLly

        public double getLly()

        Lower-left vertical coordinate of bounding rectangle.

        Returns:
        double value
      • getUrx

        public double getUrx()

        Upper-right horizontal coordinate of bounding rectangle.

        Returns:
        double value
      • getUry

        public double getUry()

        Upper-right vertical coordinate of bounding rectangle.

        Returns:
        double value
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

        Specified by:
        accept in class Operator
        Parameters:
        visitor - Visitor object.
      • fromCommand

        public void fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
        Description copied from class: Operator
        For internal usage only!

        Loads operator from command

        Parameters:
        command - ICommand value
      • toCommand

        public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
        Description copied from class: Operator
        For internal usage only!

        saves operator to command

        Returns:
        ICommand value ICommand object
      • toString

        public String toString()

        Returns text representation of operator.

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