CUE.NET.Brushes.RandomColorBrush.GetColorAtPoint C# (CSharp) Method

GetColorAtPoint() protected method

Gets the color at an specific point assuming the brush is drawn into the given rectangle.
protected GetColorAtPoint ( RectangleF rectangle, BrushRenderTarget renderTarget ) : CorsairColor
rectangle System.Drawing.RectangleF The rectangle in which the brush should be drawn.
renderTarget BrushRenderTarget The target (key/point) from which the color should be taken.
return CorsairColor
        protected override CorsairColor GetColorAtPoint(RectangleF rectangle, BrushRenderTarget renderTarget)
        {
            return ColorHelper.ColorFromHSV((float)_random.NextDouble() * 360f, 1, 1);
        }
RandomColorBrush