C# Class CUE.NET.Brushes.SolidColorBrush

Represents a brush drawing only a single color.
Inheritance: CUE.NET.Brushes.AbstractBrush
Show file Open project: DarthAffe/CUE.NET Class Usage Examples

Public Methods

Method Description
SolidColorBrush ( CorsairColor color ) : System.Drawing

Initializes a new instance of the SolidColorBrush class.

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.

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

SolidColorBrush() public method

Initializes a new instance of the SolidColorBrush class.
public SolidColorBrush ( CorsairColor color ) : System.Drawing
color CUE.NET.Devices.Generic.CorsairColor The color drawn by the brush.
return System.Drawing