public void Polyline(IList<PointD> coordinates) { if (coordinates == null) return; using (PointInfoCollection pointInfo = new PointInfoCollection(coordinates)) { _NativeInstance.Polyline(pointInfo, pointInfo.Count); } }
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) { if (wand != null) { wand.Polyline(_coordinates.ToList()); } }