Свойство | Type | Description | |
---|---|---|---|
DefaultTransparentIndex | byte |
Méthode | Description | |
---|---|---|
Crop ( |
||
Draw ( |
||
FireLoadingEvent ( int curr, int total ) : void | ||
GetBoundsRect ( |
||
Hq2x ( |
||
Load ( |
Loads a previously saved sprite sheet as a generic collection to be saved later
|
|
LoadTile ( |
||
MakeBitmap ( int width, int height, System.Drawing.Imaging.ColorPalette pal ) : |
||
MakeBitmap8 ( int width, int height, byte idx, System.Drawing.Imaging.ColorPalette palette ) : |
Creates a TRUE 8-bit indexed bitmap from the specified byte array
|
|
Save ( string path, |
||
Save24 ( Stream s, |
||
Save24 ( string path, |
||
SaveBMP ( string file, XCImageCollection collection, |
Saves an image collection as a bmp sprite sheet
|
public static Crop ( |
||
src | ||
bounds | ||
Résultat |
public static Draw ( |
||
src | ||
dest | ||
x | int | |
y | int | |
Résultat | void |
public static FireLoadingEvent ( int curr, int total ) : void | ||
curr | int | |
total | int | |
Résultat | void |
public static GetBoundsRect ( |
||
src | ||
transparent | int | |
Résultat |
public static Hq2x ( |
||
image | ||
Résultat |
public static Load ( |
||
b | bitmap containing sprites | |
pal | ||
imgWid | int | |
imgHei | int | |
space | int | |
Résultat | XCImageCollection |
public static LoadTile ( |
||
src | ||
imgNum | int | |
p | ||
startX | int | |
startY | int | |
imgWid | int | |
imgHei | int | |
Résultat |
public static MakeBitmap ( int width, int height, System.Drawing.Imaging.ColorPalette pal ) : |
||
width | int | |
height | int | |
pal | System.Drawing.Imaging.ColorPalette | |
Résultat |
public static MakeBitmap8 ( int width, int height, byte idx, System.Drawing.Imaging.ColorPalette palette ) : |
||
width | int | width of final bitmap |
height | int | height of final bitmap |
idx | byte | image data |
palette | System.Drawing.Imaging.ColorPalette | |
Résultat |
public static Save ( string path, |
||
path | string | |
image | ||
Résultat | void |
public static Save24 ( Stream s, |
||
s | Stream | |
image | ||
Résultat | void |
public static Save24 ( string path, |
||
path | string | |
image | ||
Résultat | void |
public static SaveBMP ( string file, XCImageCollection collection, |
||
file | string | output file name |
collection | XCImageCollection | image collection |
pal | Palette to color the images with | |
across | int | number of columns to use for images |
space | int | |
Résultat | void |