CURELab.SignLanguage.Debugger.View.ChartView.AddSegRect C# (CSharp) Method

AddSegRect() public method

public AddSegRect ( int start, int end, System.Windows.Media.Brush color, double height = 0.5 ) : void
start int
end int
color System.Windows.Media.Brush
height double
return void
        public void AddSegRect(int start, int end, Brush color, double height = 0.5)
        {
            RectangleHighlight rec = new RectangleHighlight();
            rec.Bounds = new System.Windows.Rect(start, 0, end - start, height);
            rec.Fill = color;
            rec.Stroke = Brushes.Green;
            rec.Opacity = 0.5;
            _rectList.Add(rec);
            //  _chartPlotter.Children.Add(rec);
        }