Class Dash

Dash class

Class representing line dash pattern.

public sealed class Dash

Constructors

NameDescription
Dash(int[])Constructor for Dash. Defines a pattern of dashes and gaps that shall be used in drawing a dashed border.
Dash(int, int)Constructor for Dash. Defines dashed border with specified dash and gap, which are unchanged for the entire dashed border.

Properties

NameDescription
Off { get; set; }Gets or sets length of first gap between dashes.
On { get; set; }Gets or sets length of first dash.
Pattern { get; }Gets dash array defining a pattern of dashes and gaps that shall be used in drawing a dashed border.

See Also