Search
Pen.CompoundArray Property
See Also
 





Gets or sets an array values that specify a compound pen. A compound pen draws a compound line made up of parallel lines and spaces.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public float[] CompoundArray { get; set; }

Visual Basic  Copy Code

Public Property CompoundArray As Single()

 Property Value

An array of real numbers that specifies the compound array. The elements in the array must be in increasing order, not less than 0, and not greater than 1.

 Remarks

A compound line is made up of alternating parallel lines and spaces of varying widths. The values in the array specify the starting points of each component of the compound line relative to the pen's width. The first value in the array specifies where the first component (a line) begins as a fraction of the distance across the width of the pen. The second value in the array specifies the beginning of the next component (a space) as a fraction of the distance across the width of the pen. The final value in the array specifies where the last component ends.

 See Also