C# Class CUE.NET.Brushes.SolidColorBrush

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

Méthodes publiques

Méthode Description
SolidColorBrush ( CorsairColor color ) : System.Drawing

Initializes a new instance of the SolidColorBrush class.

Méthodes protégées

Méthode 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 méthode

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

SolidColorBrush() public méthode

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.
Résultat System.Drawing