SetCharWidth
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator
public class SetCharWidth extends Operator
Class representing d0 operator (set glyph width).
Constructors
Constructor | Description |
---|---|
SetCharWidth(double wx, double wy) | Constructor. |
SetCharWidth(int index, ICommand command) | Constructor for operator class. |
Methods
Method | Description |
---|---|
getWx() | Horizontal displacement of glyph coordinate. |
getWy() | Vertical displacement of glyph coordinate. |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
toCommand() | |
fromCommand(ICommand command) | |
toString() | Returns text representation of operator. |
SetCharWidth(double wx, double wy)
public SetCharWidth(double wx, double wy)
Constructor.
Parameters:
Parameter | Type | Description |
---|---|---|
wx | double | Horizontal displacement of glyph. |
wy | double | Vertical displacement of glyph. |
SetCharWidth(int index, ICommand command)
public SetCharWidth(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 coordinate.
Returns: double - double value
getWy()
public double getWy()
Vertical displacement of glyph coordinate.
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. |
toCommand()
public ICommand toCommand()
Returns: ICommand
fromCommand(ICommand command)
public void fromCommand(ICommand command)
Parameters:
Parameter | Type | Description |
---|---|---|
command | ICommand |
toString()
public String toString()
Returns text representation of operator.
Returns: java.lang.String - Text representation of representation