C# Class CUE.NET.Brushes.ProfileBrush

Represents a brush drawing the lighting of a CUE profile.
Inheritance: CUE.NET.Brushes.AbstractBrush
Show file Open project: DarthAffe/CUE.NET

Protected Methods

Method Description
GetColorAtPoint ( RectangleF rectangle, BrushRenderTarget renderTarget ) : CorsairColor

Gets the color at an specific point assuming the brush is drawn into the given rectangle.

Private Methods

Method Description
ProfileBrush ( CorsairColor>.Dictionary keyLights ) : System.Collections.Generic

Initializes a new instance of the ProfileBrush class.

Method Details

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 CUE.NET.Devices.Generic.CorsairColor