[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.PatternPen

PatternPen Class

Reprents the custom pen that has custom style which is defined by a pattern.

Inheritance
PatternPen
Implements
Namespace: C1.Framework.Drawing.Gdi
Assembly: C1.Win.Input.8.dll
Syntax
public sealed class PatternPen : Pen, IDisposable, ICloneable

Constructors

Name Description
PatternPen(int[], Color)

Initializes a new instance of the PatternPen class.

PatternPen(int[], Color, int)

Initializes a new instance of the PatternPen class.

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

Initializes a new instance of the PatternPen class.

Properties

Name Description
Cap

Gets or sets the end caps style of the pen.

Color

Gets or sets the color of the pen.

DashD3S1Pattern

A int[] indiacte a 3_1 pattern ('1110''1110') for Pattern

DashD3S3D3S3D9S3Pattern

A int[] indiacte a 3_3_3_3_9_3 pattern. ('111000111000111111111000') for Pattern

DashD9S3D3S3Pattern

A int[] indiacte a 9_3_3_3 pattern. ('111111111000111000') for Pattern

DashD9S3Pattern

A int[] indiacte a 9_3 pattern ('111111111000') for Pattern

DashDotDotPattern

Get a int[] indicate the pattern of DashDotDot

DashDotPattern

Get a int[] indicate the pattern of DashDot

DashPattern

Get a int[] indicate the pattern of Dash

DotPattern

Get a int[] indicate the pattern of Dot

Join

Gets or sets the join style of the pen.

Pattern

Gets or sets the pattern of the pen.

SolidPattern

Get a int[] indicate the pattern of SolidPen

Width

Gets or sets the width of the pen.

Methods

Name Description
Clone()

Create a pen that has the same style as this pen.