using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RealTimeGraphX { public struct GraphRect { public double Top { get; set; } public double Left { get; set; } public double Width { get; set; } public double Height { get; set; } public double Right { get { return Left + Width; } } public double Bottom { get { return Top + Height; } } public GraphRect(double x, double y, double w, double h) { Left = x; Top = y; Width = w; Height = h; } } }