Esempio n. 1
0
 public override void ReadXml(System.Xml.Linq.XElement element)
 {
     X = new DrawingExpression(this, "Center X =", element.ReadString("X"));
     Y = new DrawingExpression(this, "Center Y =", element.ReadString("Y"));
     R = new DrawingExpression(this, "Radius =", element.ReadString("R"));
     base.ReadXml(element);
 }
Esempio n. 2
0
 public SlopeInterseptLineEquation(IFigure parent, string slope, string intersept)
 {
     Slope = new DrawingExpression(parent)
     {
         Name = "m = "
     };
     Slope.Text = slope;
     Intersept  = new DrawingExpression(parent)
     {
         Name = "b = "
     };
     Intersept.Text = intersept;
 }
Esempio n. 3
0
 public GeneralFormLineEquation(IFigure parent, string a, string b, string c)
 {
     A = new DrawingExpression(parent)
     {
         Name = "A = "
     };
     A.Text = a;
     B      = new DrawingExpression(parent)
     {
         Name = "B = "
     };
     B.Text = b;
     C      = new DrawingExpression(parent)
     {
         Name = "C = "
     };
     C.Text = c;
 }