C# Class OpenRA.Graphics.Palette

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Méthode Description
AsBitmap ( this palette ) : Bitmap
AsReadOnly ( this palette ) : IPalette
AsSystemPalette ( this palette ) : System.Drawing.Imaging.ColorPalette
GetColor ( this palette, int index ) : Color

Method Details

AsBitmap() public static méthode

public static AsBitmap ( this palette ) : Bitmap
palette this
Résultat System.Drawing.Bitmap

AsReadOnly() public static méthode

public static AsReadOnly ( this palette ) : IPalette
palette this
Résultat IPalette

AsSystemPalette() public static méthode

public static AsSystemPalette ( this palette ) : System.Drawing.Imaging.ColorPalette
palette this
Résultat System.Drawing.Imaging.ColorPalette

GetColor() public static méthode

public static GetColor ( this palette, int index ) : Color
palette this
index int
Résultat System.Drawing.Color