Search
Pen Members
Constructors Properties Methods
 


Represents a pen.

The following tables list the members exposed by the Pen type.

 Public Constructors

  Name Description

Pen

Overloaded.  

 Public Properties

  Name Description

color

Gets or sets the color of this Pen.

dashStyle

Gets or sets the dash style of this Pen.

width

Gets or sets the width of this Pen.

 Public Methods

  Name Description

apply

Applies the pen properties to a CanvasRenderingContext2D drawing object.

equals

Determines whether the specified object is equal to this LinearGradientBrush.

fromObject

Returns a Pen from a string describing this pen.

toString

Returns a string representation of this pen.

 See Also