C# Класс CUE.NET.Brushes.LinearGradientBrush

Represents a brush drawing a linear gradient.
Наследование: CUE.NET.Brushes.AbstractBrush, IGradientBrush
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
LinearGradientBrush ( ) : System.Drawing

Initializes a new instance of the LinearGradientBrush class.

LinearGradientBrush ( IGradient gradient ) : System.Drawing

Initializes a new instance of the LinearGradientBrush class.

LinearGradientBrush ( PointF startPoint, PointF endPoint, IGradient gradient ) : System.Drawing

Initializes a new instance of the LinearGradientBrush class.

Защищенные методы

Метод Описание
GetColorAtPoint ( RectangleF rectangle, BrushRenderTarget renderTarget ) : CorsairColor

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

Описание методов

GetColorAtPoint() защищенный Метод

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.
Результат CUE.NET.Devices.Generic.CorsairColor

LinearGradientBrush() публичный Метод

Initializes a new instance of the LinearGradientBrush class.
public LinearGradientBrush ( ) : System.Drawing
Результат System.Drawing

LinearGradientBrush() публичный Метод

Initializes a new instance of the LinearGradientBrush class.
public LinearGradientBrush ( IGradient gradient ) : System.Drawing
gradient IGradient The gradient drawn by the brush.
Результат System.Drawing

LinearGradientBrush() публичный Метод

Initializes a new instance of the LinearGradientBrush class.
public LinearGradientBrush ( PointF startPoint, PointF endPoint, IGradient gradient ) : System.Drawing
startPoint System.Drawing.PointF The start point (as percentage in the range [0..1]).
endPoint System.Drawing.PointF The end point (as percentage in the range [0..1]).
gradient IGradient The gradient drawn by the brush.
Результат System.Drawing