This documentation is for the old version. Go to the latest Graphics Mill docs

Pen Members

The Pen type exposes the following members.

Constructors

Name Description
Public method Pen Overloaded.

Constructs new Pen class instance.

Methods

Name Description
Public method Clone

Creates a full copy of this Pen object.

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 ToGdiplusPen

Converts the pen to System.Drawing.Pen class.

Public method ToString (Inherited from Object.)

Operators

Name Description
Public operator Static member Implicit Overloaded.

Casts an instance of Aurigma.GraphicsMill.Drawing.Pen to System.Drawing.Pen or vice versa.

Properties

Name Description
Public property Alignment

Gets/sets pen alignment.

Public property Color

Gets/sets pen color.

Public property DashStyle

Gets/sets style used for dashed lines drawn with this pen.

Public property Static member Empty

Returns an empty pen (which does not outline anything).

Public property EndCap

Gets/sets a value specifying what cap to use at the end of lines drawn with this pen.

Public property IsEmpty

Indicates if the pen is empty.

Public property LineJoin

Gets/sets the join style for the ends of two consecutive lines drawn with this pen.

Public property MiterLimit

Gets/sets the limit of the thickness of the join on a mitered corner.

Public property StartCap

Gets/sets a value specifying what cap to use at the beginning of lines drawn with this pen.

Public property Width

Gets/sets pen width.

See Also

Reference