Example #1
0
        /// <summary>
        /// 克隆编辑矩形
        /// </summary>
        /// <returns></returns>
        public override IDrawObject Clone()
        {
            RectangleEdit r = new RectangleEdit();

            r.Copy(this);
            return(r);
        }
Example #2
0
 /// <summary>
 /// 复制编辑矩形
 /// </summary>
 /// <param name="acopy"></param>
 public new void Copy(RectangleEdit acopy)
 {
     base.Copy(acopy);
     m_perSnap    = acopy.m_perSnap;
     m_tanSnap    = acopy.m_tanSnap;
     m_tanReverse = acopy.m_tanReverse;
 }