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

AddTruthRect() public method

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