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 SetCharWidthBoundingBox operator.
|
SetCharWidthBoundingBox(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.type3fonts.SetWidthAndBoundingInformation command)
Constructor for operator class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
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.
|
createFromCommandName, equals, getCommand, getCommandName, getIndex, isTextShowOperator, setIndex, valueEqualspublic SetCharWidthBoundingBox(double wx,
double wy,
double llx,
double lly,
double urx,
double ury)
Initializes SetCharWidthBoundingBox operator.
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.public SetCharWidthBoundingBox(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.type3fonts.SetWidthAndBoundingInformation 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 com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
Operatorsaves operator to command
Copyright © 2025 Aspose. All Rights Reserved.