Exemplo n.º 1
0
        public static PointByCoordinates CreatePointByCoordinates(Drawing drawing, Func <double> xValueProvider, Func <double> yValueProvider)
        {
            var result = new PointByCoordinates()
            {
                Drawing = drawing
            };

            result.XExpression.Value = xValueProvider;
            result.YExpression.Value = yValueProvider;
            return(result);
        }
Exemplo n.º 2
0
        public static PointByCoordinates CreatePointByCoordinates(Drawing drawing, string x, string y)
        {
            var result = new PointByCoordinates()
            {
                Drawing = drawing
            };

            result.XExpression.Text = x;
            result.YExpression.Text = y;
            result.XExpression.Recalculate();
            result.YExpression.Recalculate();
            return(result);
        }
Exemplo n.º 3
0
 public static PointByCoordinates CreatePointByCoordinates(Drawing drawing, Func<double> xValueProvider, Func<double> yValueProvider)
 {
     var result = new PointByCoordinates()
     {
         Drawing = drawing
     };
     result.XExpression.Value = xValueProvider;
     result.YExpression.Value = yValueProvider;
     return result;
 }
Exemplo n.º 4
0
 public static PointByCoordinates CreatePointByCoordinates(Drawing drawing, string x, string y)
 {
     var result = new PointByCoordinates() { Drawing = drawing };
     result.XExpression.Text = x;
     result.YExpression.Text = y;
     result.XExpression.Recalculate();
     result.YExpression.Recalculate();
     return result;
 }