示例#1
0
        public static EllipseArc CreateEllipseArc(Drawing drawing, IList <IFigure> foundDependencies)
        {
            var result = new EllipseArc()
            {
                Drawing = drawing, Dependencies = foundDependencies
            };

            return(result);
        }
示例#2
0
文件: Factory.cs 项目: ondrej11/o106
 public static EllipseArc CreateEllipseArc(Drawing drawing, IList<IFigure> foundDependencies)
 {
     var result = new EllipseArc() { Drawing = drawing, Dependencies = foundDependencies };
     return result;
 }
示例#3
0
 public void ConvertToSector()
 {
     EllipseArc.Convert(this, Factory.CreateCircleSector(this.Drawing, this.Dependencies));
 }
示例#4
0
 public void ConvertToArc()
 {
     EllipseArc.Convert(this, Factory.CreateArc(this.Drawing, this.Dependencies));
 }
示例#5
0
 public virtual void ConvertToCircleSegment()
 {
     EllipseArc.Convert(this, Factory.CreateCircleSegment(this.Drawing, this.Dependencies));
 }