Gets or sets an array of custom dashes and spaces.
Namespace: MindFusion.Drawing
Package: MindFusion.Common
C# Copy Code |
---|
public float[] DashPattern { get; set; } |
Visual Basic Copy Code |
---|
Public Property DashPattern As Single() |
An array of real numbers that specify the lengths of alternating dashes and spaces in dashed lines.
The elements in the array set the length of each dash and space in the dash pattern. The first element sets the length of a dash, the second element sets the length of a space, the third element sets the length of a dash, and so on.The length of each dash and space in the dash pattern is the product of the element value in the array and the width of the pen.