Click or drag to resize

DrawingBlockVisualCreatePolyLine Method

Create a new DrawingBlockVisual which contains a list of line {start,end} pairs.

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public static DrawingBlockVisual CreatePolyLine(
	Document doc,
	Vector3[] points,
	Color lineColor
)

Parameters

doc  Document
The document to add the visual to.
points  Vector3
The array of {start,end} line pairs.
lineColor  Color
The color of the new line list

Return Value

DrawingBlockVisual
A new DrawingBlockVisual which contains a list of line {start,end} pairs.
See Also