[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.PatternPen.-ctor

PatternPen Constructor

PatternPen(int[], Color)

Initializes a new instance of the PatternPen class.

Declaration
public PatternPen(int[] pattern, Color color)
Parameters
Type Name Description
int[] pattern

A int array indicate the pattern of current pen

Color color

A Color indicates the color of the pen.

PatternPen(int[], Color, int)

Initializes a new instance of the PatternPen class.

Declaration
public PatternPen(int[] pattern, Color color, int width)
Parameters
Type Name Description
int[] pattern

A int array indicates the pattern of the pen.

Color color

A Color indicates the color of the pen.

int width

An int indicates the width of the pen.

PatternPen(int[], Color, int, DashCap, LineJoin)

Initializes a new instance of the PatternPen class.

Declaration
public PatternPen(int[] pattern, Color color, int width, DashCap cap, LineJoin join)
Parameters
Type Name Description
int[] pattern

A int array indicates the pattern of the pen.

Color color

A Color indicates the color of the pen.

int width

An int indicates the width of the pen.

DashCap cap

A DashCap indicates the cap style of the pen.

LineJoin join

A LineJoin indicates the join style of the pen.