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