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

The generic SharpDX extensions.
Datei anzeigen Open project: EnsageSharp/Ensage.Common

Public Methods

Method 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 method

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

ToRgba() public static method

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

ToSharpDxColor() public static method

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

ToSystemColor() public static method

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