C# 클래스 CUE.NET.Brushes.LinearGradientBrush

Represents a brush drawing a linear gradient.
상속: CUE.NET.Brushes.AbstractBrush, IGradientBrush
파일 보기 프로젝트 열기: DarthAffe/CUE.NET 1 사용 예제들

공개 메소드들

메소드 설명
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