コード例 #1
0
ファイル: Polygon.cs プロジェクト: TimVelo/StackBuilder
		/// <summary>
		/// Initializes a new instance of the <see cref="Polygon"/> classu sing coordinates from another instance.
		/// </summary>
		/// <param name="polygon">A <see cref="Polygon"/> instance.</param>
		public Polygon(Polygon polygon)
		{
			_points.AddRange(polygon._points);
		}
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Polygon"/> classu sing coordinates from another instance.
 /// </summary>
 /// <param name="polygon">A <see cref="Polygon"/> instance.</param>
 public Polygon(Polygon polygon)
 {
     _points.AddRange(polygon._points);
 }