SetDashPattern(ReadOnlySpan, Double) Method

Definition

Assembly Broadside.dll

Sets the line dash pattern (d); an empty dashArray draws solid lines.

public void SetDashPattern(ReadOnlySpan<double> dashArray, double phase)

Parameters

dashArray
ReadOnlySpan<Double>

The lengths of alternating dashes and gaps, in user space units: non-negative and not all zero.

phase
Double

The distance into the pattern at which the dash starts; non-negative.

Remarks

ISO 32000-2 §8.4.3.6: the dash array's elements shall be non-negative numbers, not all zero.