Click or drag to resize

DisplayPenSetPattern Method

Set pattern to apply for a stroke.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public void SetPattern(
	IEnumerable<float> dashesAndGaps
)

Parameters

dashesAndGaps
Type: System.Collections.GenericIEnumerableSingle
Lengths of dashes and gaps for a pattern. Dash is always assumed the first item. There is a limit to 8 dashes and gaps total
Exceptions
ExceptionCondition
ArgumentOutOfRangeException thrown when dashes and gaps have more than 8 items
See Also