C# Класс ARCed.Scintilla.XpmConverter

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM The XpmConverter class was based on code from flashdevelop.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DefaultTransparentColor string

Открытые методы

Метод Описание
ConvertToXPM ( ImageList imageList ) : List

Cicles an _srcTexture list object to convert contained images into xpm at the same time we add converted images into an arraylist that lets us to retrieve images later. Uses the DefaultTransparentColor.

ConvertToXPM ( ImageList imageList, string transparentColor ) : List

Cicles an _srcTexture list object to convert contained images into xpm at the same time we add converted images into an arraylist that lets us to retrieve images later

ConvertToXPM ( Bitmap bmp ) : string

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM. Uses the DefaultTransparentColor.

ConvertToXPM ( Bitmap bmp, string transparentColor ) : string

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM tColor: specified transparent color in format: "#00FF00".

Описание методов

ConvertToXPM() публичный статический Метод

Cicles an _srcTexture list object to convert contained images into xpm at the same time we add converted images into an arraylist that lets us to retrieve images later. Uses the DefaultTransparentColor.
public static ConvertToXPM ( ImageList imageList ) : List
imageList System.Windows.Forms.ImageList The _srcTexture list to transform.
Результат List

ConvertToXPM() публичный статический Метод

Cicles an _srcTexture list object to convert contained images into xpm at the same time we add converted images into an arraylist that lets us to retrieve images later
public static ConvertToXPM ( ImageList imageList, string transparentColor ) : List
imageList System.Windows.Forms.ImageList The _srcTexture list to transform.
transparentColor string The overriding transparent Color
Результат List

ConvertToXPM() публичный статический Метод

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM. Uses the DefaultTransparentColor.
public static ConvertToXPM ( Bitmap bmp ) : string
bmp System.Drawing.Bitmap The _srcTexture to transform.
Результат string

ConvertToXPM() публичный статический Метод

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM tColor: specified transparent color in format: "#00FF00".
public static ConvertToXPM ( Bitmap bmp, string transparentColor ) : string
bmp System.Drawing.Bitmap The _srcTexture to transform.
transparentColor string The overriding transparent Color
Результат string

Описание свойств

DefaultTransparentColor публичное статическое свойство

The default transparent Color
public static string DefaultTransparentColor
Результат string