C# Class PixelFarm.Drawing.LinearGradientBrush

Inheritance: GeometryGraidentBrush
Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
CreateLinearGradientBrush ( RectangleF rect, Color startColor, Color stopColor, float degreeAngle ) : LinearGradientBrush
DegreesToRadians ( float degrees ) : float

Convert degrees to radians

Dispose ( ) : void
GetColors ( ) : List
GetStopPoints ( ) : List
LinearGradientBrush ( PointF stop1, Color c1, PointF stop2, Color c2 ) : System
RadiansToDegrees ( float radians ) : float

Convert radians to degrees

Method Details

CreateLinearGradientBrush() public static method

public static CreateLinearGradientBrush ( RectangleF rect, Color startColor, Color stopColor, float degreeAngle ) : LinearGradientBrush
rect RectangleF
startColor Color
stopColor Color
degreeAngle float
return LinearGradientBrush

DegreesToRadians() public static method

Convert degrees to radians
public static DegreesToRadians ( float degrees ) : float
degrees float An angle in degrees
return float

Dispose() public method

public Dispose ( ) : void
return void

GetColors() public method

public GetColors ( ) : List
return List

GetStopPoints() public method

public GetStopPoints ( ) : List
return List

LinearGradientBrush() public method

public LinearGradientBrush ( PointF stop1, Color c1, PointF stop2, Color c2 ) : System
stop1 PointF
c1 Color
stop2 PointF
c2 Color
return System

RadiansToDegrees() public static method

Convert radians to degrees
public static RadiansToDegrees ( float radians ) : float
radians float An angle in radians
return float