public class SetCharWidthBoundingBox extends Operator
Class representing d1 operator (set glyph and bounding box).
Constructor and Description |
---|
SetCharWidthBoundingBox(double wx,
double wy,
double llx,
double lly,
double urx,
double ury)
Initializes operator.
|
SetCharWidthBoundingBox(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
void |
fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
For internal usage only!
|
double |
getLlx()
Lower-left horizontal coordinate of bounding rectangle.
|
double |
getLly()
Lower-left vertical coordinate of bounding rectangle.
|
double |
getUrx()
Upper-right horizontal coordinate of bounding rectangle.
|
double |
getUry()
Upper-right vertical coordinate of bounding rectangle.
|
double |
getWx()
Horizontal displacement of glyph.
|
double |
getWy()
Vertical displacement of glyph.
|
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand |
toCommand()
For internal usage only!
|
String |
toString()
Returns text representation of operator.
|
getCommand, getCommandName, getIndex, getParameters, isTextShowOperator, reset, setIndex, toString
public SetCharWidthBoundingBox(double wx, double wy, double llx, double lly, double urx, double ury)
Initializes operator.
wx
- double valuewy
- double valuellx
- double valuelly
- double valueurx
- double valueury
- double valuepublic SetCharWidthBoundingBox(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public double getWx()
Horizontal displacement of glyph.
public double getWy()
Vertical displacement of glyph.
public double getLlx()
Lower-left horizontal coordinate of bounding rectangle.
public double getLly()
Lower-left vertical coordinate of bounding rectangle.
public double getUrx()
Upper-right horizontal coordinate of bounding rectangle.
public double getUry()
Upper-right vertical coordinate of bounding rectangle.
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public void fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Operator
Loads operator from command
command
- ICommand valuepublic com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
Operator
saves operator to command