SetCharWidthBoundingBox
Inheritance: java.lang.Object, com.aspose.pdf.Operator
public class SetCharWidthBoundingBox extends Operator
Class representing d1 operator (set glyph and bounding box).
Constructors
Constructor | Description |
---|---|
SetCharWidthBoundingBox(double wx, double wy, double llx, double lly, double urx, double ury) | Initializes SetCharWidthBoundingBox operator. |
SetCharWidthBoundingBox(int index, ICommand command) | Constructor for operator class. |
Methods
Method | Description |
---|---|
getWx() | Horizontal displacement of glyph. |
getWy() | Vertical displacement of glyph. |
getLlx() | Lower-left horizontal coordinate of bounding rectangle. |
getLly() | Lower-left vertical coordinate of bounding rectangle. |
getUrx() | Upper-right horizontal coordinate of bounding rectangle. |
getUry() | Upper-right vertical coordinate of bounding rectangle. |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
fromCommand(ICommand command) | |
toCommand() | |
toString() | Returns text representation of operator. |
SetCharWidthBoundingBox(double wx, double wy, double llx, double lly, double urx, double ury)
public SetCharWidthBoundingBox(double wx, double wy, double llx, double lly, double urx, double ury)
Initializes SetCharWidthBoundingBox operator.
Parameters:
Parameter | Type | Description |
---|---|---|
wx | double | Denotes the horizontal displacement in the glyph coordinate. |
wy | double | Denotes the vertical displacement in the glyph coordinate. Shall be 0. |
llx | double | Denotes X coordinate of the lower-left corner. |
lly | double | Denotes Y coordinate of the lower-left corner. |
urx | double | Denotes X coordinate of upper-right corner. |
ury | double | Denotes Y coordinate of upper-right corner. |
SetCharWidthBoundingBox(int index, ICommand command)
public SetCharWidthBoundingBox(int index, ICommand command)
Constructor for operator class.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of operator. |
command | ICommand | Operator command. |
getWx()
public double getWx()
Horizontal displacement of glyph.
Returns: double - double value
getWy()
public double getWy()
Vertical displacement of glyph.
Returns: double - double value
getLlx()
public double getLlx()
Lower-left horizontal coordinate of bounding rectangle.
Returns: double - double value
getLly()
public double getLly()
Lower-left vertical coordinate of bounding rectangle.
Returns: double - double value
getUrx()
public double getUrx()
Upper-right horizontal coordinate of bounding rectangle.
Returns: double - double value
getUry()
public double getUry()
Upper-right vertical coordinate of bounding rectangle.
Returns: double - double value
accept(IOperatorSelector visitor)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | IOperatorSelector | Visitor object. |
fromCommand(ICommand command)
public void fromCommand(ICommand command)
Parameters:
Parameter | Type | Description |
---|---|---|
command | ICommand |
toCommand()
public ICommand toCommand()
Returns: ICommand
toString()
public String toString()
Returns text representation of operator.
Returns: java.lang.String - Text representation of representation