C# Class PixelFarm.Drawing.LinearGradientBrush

Inheritance: GeometryGraidentBrush
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

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

public static CreateLinearGradientBrush ( RectangleF rect, Color startColor, Color stopColor, float degreeAngle ) : LinearGradientBrush
rect RectangleF
startColor Color
stopColor Color
degreeAngle float
Résultat LinearGradientBrush

DegreesToRadians() public static méthode

Convert degrees to radians
public static DegreesToRadians ( float degrees ) : float
degrees float An angle in degrees
Résultat float

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetColors() public méthode

public GetColors ( ) : List
Résultat List

GetStopPoints() public méthode

public GetStopPoints ( ) : List
Résultat List

LinearGradientBrush() public méthode

public LinearGradientBrush ( PointF stop1, Color c1, PointF stop2, Color c2 ) : System
stop1 PointF
c1 Color
stop2 PointF
c2 Color
Résultat System

RadiansToDegrees() public static méthode

Convert radians to degrees
public static RadiansToDegrees ( float radians ) : float
radians float An angle in radians
Résultat float