Pen Members

The Pen type exposes the following members.


Name Description
Public method Pen Overloaded.

Initializes new Pen.


Name Description
Public method Dispose

Releases all resources used by this Pen.

Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)


Name Description
Public property Brush
Public property Color

Gets or sets the color of this Pen.

Public property DashOffset

Gets or sets the dash offset of this Pen.

Public property DashPattern

Gets or sets the dash pattern of this Pen.

Public property LineCap

Gets or sets the cap style with which this Pen object can end a line.

Public property LineJoin

Gets or sets the type of a corner when two lines meet.

Public property MiterLimit

Gets or sets the value that defines how sharp should be a line join.

Public property Width

Gets or sets the width of this Pen.

See Also