コード例 #1
0
		/// <summary>
		/// Clone this instance
		/// </summary>
		public override DrawObject Clone()
		{
			DrawEllipse drawEllipse = new DrawEllipse();
			drawEllipse.Rectangle = this.Rectangle;

			FillDrawObjectFields(drawEllipse);
			return drawEllipse;
		}
コード例 #2
0
ファイル: DrawEllipse.cs プロジェクト: carlhuth/GenXSource
        /// <summary>
        /// Clone this instance
        /// </summary>
        public override DrawObject Clone()
        {
            DrawEllipse drawEllipse = new DrawEllipse();

            drawEllipse.Rectangle = this.Rectangle;

            FillDrawObjectFields(drawEllipse);
            return(drawEllipse);
        }