/// <summary> /// Creates a copy of the point. /// </summary> /// <returns>Returns the copy.</returns> public MapSketchPoint Copy() { MapSketchPoint msp = new MapSketchPoint(); msp.Square = new Point(fSquare.X, fSquare.Y); msp.Location = new PointF(fLocation.X, fLocation.Y); return(msp); }
public MapSketchPoint Copy() { MapSketchPoint mapSketchPoint = new MapSketchPoint() { Square = new Point(this.fSquare.X, this.fSquare.Y), Location = new PointF(this.fLocation.X, this.fLocation.Y) }; return(mapSketchPoint); }