Pen Class
Namespace: System.Drawing · Assembly: GHIElectronics.TinyCLR.Drawing
Defines an object used to draw lines and outlines — color, width, and brush.
public sealed class Pen : MarshalByRefObject, ICloneable, IDisposable
Constructors
Pen(Color color)
public Pen(Color color) : this(color, 1.0f)
No description available.
| Parameter | Type | Description |
|---|---|---|
color | Color |
Pen(Brush brush)
public Pen(Brush brush) : this(brush, 1.0f)
No description available.
| Parameter | Type | Description |
|---|---|---|
brush | Brush |
Pen(Color color, float width)
public Pen(Color color, float width)
No description available.
| Parameter | Type | Description |
|---|---|---|
color | Color | |
width | float |
Pen(Brush brush, float width)
public Pen(Brush brush, float width)
No description available.
| Parameter | Type | Description |
|---|---|---|
brush | Brush | |
width | float |
Properties
Width
public float Width { get; set; }
Column width in pixels. (inherited)
Color
public Color Color { get; set; }
No description available.
PenType
public PenType PenType { get; }
No description available.
Brush
public Brush Brush { get; set; }
No description available.
Methods
Dispose()
public void Dispose()
Releases buffered memory (the unmanaged firmware/application buffers). (inherited)
Clone()
public object Clone()
Creates a new object that is a copy of the current instance. (inherited)
Returns object