public static VisualLineString Create(LineString lineString, Pen pen = null)
 {
     return new VisualLineString(lineString)
     {
         Pen = pen
     };
 }
 public VisualLineString(LineString lineString)
 {
     _lineString = lineString;
 }
 /// <summary>
 /// Creates a docked path from this geometries.
 /// </summary>
 /// <returns></returns>
 public LineString ToPath() {
     var path = new LineString();
     foreach (var g in _geometries)
         path.DockGeometry(g);
     return path;
 }
 /// <summary>
 /// Creates a new line string with same values as the prototype
 /// </summary>
 /// <param name="prototype"></param>
 public LineString(LineString prototype) 
     : this() {
     this.Prototype(prototype);
 }
示例#5
0
 /// <summary>
 /// Creates a new line string with same values as the prototype
 /// </summary>
 /// <param name="prototype"></param>
 public LineString(LineString prototype)
     : this()
 {
     this.Prototype(prototype);
 }