Click or drag to resize

LinetypeSetSegments Method

Set all segments.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetSegments(
	IEnumerable<double> segments
)

Parameters

segments
Type: System.Collections.GenericIEnumerableDouble
An array of segments lengths. Lengths >= 0 are interpreted as a line. Lengths < 0 are interpreted as a space.

Return Value

Type: Boolean
true if the segments were replaced
Version Information

Rhino for Windows

Supported in: 6.20
See Also