ColorPen Class

Defines an object used to draw lines and curves.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
C#
public class ColorPen : IDisposable
Inheritance
Object    ColorPen
Implements
IDisposable

Constructors

ColorPen(Color) Constructor of the pen object.
ColorPen(Color, Single) Constructor of the pen object with a given width.

Properties

Color Color of the pen.
DashStyle Style of the pen stroke.
HairlineMode Always draw lines with a width of 1 pixel, regardless of the transformation matrix.
Width Width of the pen.

Methods

DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also