public class SetLineWidth extends Operator
Class representing w operator (set line width).
Constructor and Description |
---|
SetLineWidth(double width)
Initializes operator with width value.
|
SetLineWidth(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.
|
double |
getWidth()
Gets width of the line.
|
void |
setWidth(double value)
Sets width of the line.
|
String |
toString()
Returns text representation of operator.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public SetLineWidth(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public SetLineWidth(double width)
Initializes operator with width value.
width
- Value of width.public double getWidth()
Gets width of the line.
public void setWidth(double value)
Sets width of the line.
value
- width of the line.public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.