SetLineWidth
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator
public class SetLineWidth extends Operator
Class representing w operator (set line width).
Constructors
Constructor | Description |
---|---|
SetLineWidth(int index, ICommand command) | Constructor for operator class. |
SetLineWidth(double width) | Initializes operator with width value. |
Methods
Method | Description |
---|---|
getWidth() | Gets width of the line. |
setWidth(double value) | Sets width of the line. |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
toString() | Returns text representation of operator. |
SetLineWidth(int index, ICommand command)
public SetLineWidth(int index, ICommand command)
Constructor for operator class.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of operator. |
command | ICommand | Operator command. |
SetLineWidth(double width)
public SetLineWidth(double width)
Initializes operator with width value.
Parameters:
Parameter | Type | Description |
---|---|---|
width | double | Value of width. |
getWidth()
public double getWidth()
Gets width of the line.
Returns: double - width of the line.
setWidth(double value)
public void setWidth(double value)
Sets width of the line.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | width of the line. |
accept(IOperatorSelector visitor)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | IOperatorSelector | Visitor object. |
toString()
public String toString()
Returns text representation of operator.
Returns: java.lang.String - Text representation of operator.