Pen.Pen
Contents
[
Hide
]Pen(Color)
Initializes a new instance of the Pen
class with the specified Color.
public Pen(Color color)
Parameter | Type | Description |
---|---|---|
color | Color | A Color that determines the fill properties of this Pen. |
See Also
- struct Color
- class Pen
- namespace System.Drawing
- assembly Aspose.Drawing
Pen(Brush, float)
Initializes a new instance of the Pen class with the specified Brush and Width.
public Pen(Brush brush, float width)
Parameter | Type | Description |
---|---|---|
brush | Brush | A Brush that determines the characteristics of this Pen. |
width | Single | The width of the new Pen. |
See Also
- class Brush
- class Pen
- namespace System.Drawing
- assembly Aspose.Drawing
Pen(Brush)
Initializes a new instance of the Pen
class with the specified Brush.
public Pen(Brush brush)
Parameter | Type | Description |
---|---|---|
brush | Brush | A Brush that determines the fill properties of this Pen. |
See Also
- class Brush
- class Pen
- namespace System.Drawing
- assembly Aspose.Drawing
Pen(Color, float)
Initializes a new instance of the Pen class with the specified Color and Width properties.
public Pen(Color color, float width)
Parameter | Type | Description |
---|---|---|
color | Color | A Color structure that indicates the color of this Pen. |
width | Single | A value indicating the width of this Pen. |
See Also
- struct Color
- class Pen
- namespace System.Drawing
- assembly Aspose.Drawing