C# Class Ensage.Common.Extensions.SharpDX.Generic

The generic SharpDX extensions.
Afficher le fichier Open project: EnsageSharp/Ensage.Common

Méthodes publiques

Méthode Description
ToArgb ( this color ) : int

Converts a SharpDX Color to Argb format.

ToRgba ( this color ) : int

Converts a System Color to Rgba format.

ToSharpDxColor ( this color ) : Color

Converts a System Color to a SharpDX Color.

ToSystemColor ( this color ) : global::System.Drawing.Color

Converts a SharpDX Color to a System Color.

Method Details

ToArgb() public static méthode

Converts a SharpDX Color to Argb format.
public static ToArgb ( this color ) : int
color this /// The color ///
Résultat int

ToRgba() public static méthode

Converts a System Color to Rgba format.
public static ToRgba ( this color ) : int
color this /// The color ///
Résultat int

ToSharpDxColor() public static méthode

Converts a System Color to a SharpDX Color.
public static ToSharpDxColor ( this color ) : Color
color this /// The color. ///
Résultat Color

ToSystemColor() public static méthode

Converts a SharpDX Color to a System Color.
public static ToSystemColor ( this color ) : global::System.Drawing.Color
color this /// The color. ///
Résultat global::System.Drawing.Color