Table of Contents

Class Pen

Namespace
GHIElectronics.Endpoint.Drawing
Assembly
GHIElectronics.Endpoint.Drawing.dll
public sealed class Pen : MarshalByRefObject, ICloneable, IDisposable
Inheritance
Pen
Implements
Inherited Members

Constructors

Pen(Brush)

public Pen(Brush brush)

Parameters

brush Brush

Pen(Brush, float)

public Pen(Brush brush, float width)

Parameters

brush Brush
width float

Pen(Color)

public Pen(Color color)

Parameters

color Color

Pen(Color, float)

public Pen(Color color, float width)

Parameters

color Color
width float

Properties

Brush

public Brush Brush { get; set; }

Property Value

Brush

Color

public Color Color { get; set; }

Property Value

Color

PenType

public PenType PenType { get; }

Property Value

PenType

Width

public float Width { get; set; }

Property Value

float

Methods

Clone()

Creates a new object that is a copy of the current instance.

public object Clone()

Returns

object

A new object that is a copy of this instance.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()