public class SetCharWidth extends Operator
Class representing d0 operator (set glyph width).
Constructor and Description |
---|
SetCharWidth(double wx,
double wy)
Constructor.
|
SetCharWidth(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 |
getWx()
Horizontal displacement of glyph coordinate.
|
double |
getWy()
Vertical displacement of glyph coordinate.
|
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand |
toCommand()
For internal usage only!
|
String |
toString()
Returns text representation of operator.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public SetCharWidth(double wx, double wy)
Constructor.
wx
- Horizontal displacement of glyph.wy
- Vertical displacement of glyph.public SetCharWidth(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 coordinate.
public double getWy()
Vertical displacement of glyph coordinate.
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
Operator
saves operator to command
public void fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Operator
Loads operator from command
command
- ICommand value