SetCharWidthBoundingBox
Inheritance: java.lang.Object, com.aspose.pdf.Operator com.aspose.pdf.operators.SetCharWidthBoundingBox, com.aspose.pdf.Operator, com.aspose.pdf.operators.SetCharWidthBoundingBox
public class SetCharWidthBoundingBox extends Operator
Class representing d1 operator (set glyph and bounding box).
Constructors
| Constructor | Description |
|---|---|
| SetCharWidthBoundingBox | Initializes SetCharWidthBoundingBox operator. |
| SetCharWidthBoundingBox | Constructor for operator class. |
Methods
| Method | Description |
|---|---|
| accept | Accepts visitor object to process operator. |
| 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. |
| getWx | Horizontal displacement of glyph. |
| getWy | Vertical displacement of glyph. |
| toCommand | For internal usage only! |
| toString | Returns text representation of operator. |
SetCharWidthBoundingBox
public SetCharWidthBoundingBox(double wx, double wy, double llx, double lly, double urx, double ury)
Initializes SetCharWidthBoundingBox operator.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| wx | Denotes the horizontal displacement in the glyph coordinate. | |
| wy | Denotes the vertical displacement in the glyph coordinate. Shall be 0. | |
| llx | Denotes X coordinate of the lower-left corner. | |
| lly | Denotes Y coordinate of the lower-left corner. | |
| urx | Denotes X coordinate of upper-right corner. | |
| ury | Denotes Y coordinate of upper-right corner. |
SetCharWidthBoundingBox
Constructor for operator class.
accept
Accepts visitor object to process operator.
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
getWx
public double getWx()
Horizontal displacement of glyph.
Returns: double value
getWy
public double getWy()
Vertical displacement of glyph.
Returns: double value
toCommand
public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
For internal usage only!
Returns: ICommand value ICommand object
toString
public String toString()
Returns text representation of operator.
Returns: Text representation of representation