IPen
All Implemented Interfaces: com.aspose.ms.System.IDisposable
public interface IPen extends System.IDisposable
Represents generic solid pen for barcode generation drawing.
Methods
| Method | Description |
|---|---|
| getColor() | Gets solid color of pen. |
| getDashStyle() | Gets dash style of pen. |
| getThickness() | Gets thickness of pen in pixels. |
| setDashStyle(PenDashStyle value) | Sets dash style of pen. |
getColor()
public abstract System.Drawing.Color getColor()
Gets solid color of pen.
Returns: com.aspose.ms.System.Drawing.Color - Color of pen.
getDashStyle()
public abstract PenDashStyle getDashStyle()
Gets dash style of pen.
Returns: PenDashStyle - Dash style
getThickness()
public abstract float getThickness()
Gets thickness of pen in pixels.
Returns: float - Thickness of pen
setDashStyle(PenDashStyle value)
public abstract void setDashStyle(PenDashStyle value)
Sets dash style of pen.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PenDashStyle | The dash style |