Clone() public method

Clones line fixed length.
public Clone ( ) : LineFixedLength
return LineFixedLength
Ejemplo n.º 1
0
 /// <summary>
 /// Clones line style.
 /// </summary>
 /// <returns>The new instance of the <see cref="LineStyle"/> class.</returns>
 public LineStyle Clone()
 {
     return(new LineStyle()
     {
         Name = _name,
         IsCurved = _isCurved,
         Curvature = _curvature,
         CurveOrientation = _curveOrientation,
         FixedLength = _fixedLength.Clone()
     });
 }