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); }
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; }
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; }