Inheritance: DnaEllipse
示例#1
0
        public void AddCircle()
        {
            var newCircle = new DnaCircle(tool);
            newCircle.Init();

            Shapes.Add(newCircle);
            SetDirty();
        }
示例#2
0
        public override DnaShape Clone()
        {
            var newCirc = new DnaCircle(tool);
            newCirc.origin = origin.Clone();
            newCirc.Brush = Brush.Clone();
            newCirc.rx = rx;
            newCirc.ry = ry;

            return newCirc;
        }
示例#3
0
        override public DnaShape Clone()
        {
            var newCirc = new DnaCircle(tool);

            newCirc.origin = origin.Clone();
            newCirc.Brush  = Brush.Clone();
            newCirc.rx     = rx;
            newCirc.ry     = ry;

            return(newCirc);
        }