コード例 #1
0
ファイル: DrawEllipse.cs プロジェクト: gitter-badger/UROCare
        /// <summary>
        ///   Clone this instance
        /// </summary>
        public override DrawObject Clone()
        {
            var drawEllipse = new DrawEllipse {Rectangle = Rectangle};

            FillDrawObjectFields(drawEllipse);
            return drawEllipse;
        }
コード例 #2
0
        /// <summary>
        ///   Clone this instance
        /// </summary>
        public override DrawObject Clone()
        {
            var drawEllipse = new DrawEllipse {
                Rectangle = Rectangle
            };

            FillDrawObjectFields(drawEllipse);
            return(drawEllipse);
        }