Property | Type | Description | |
---|---|---|---|
DefaultTransparentIndex | byte |
Method | 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 | ||
return |
public static Draw ( |
||
src | ||
dest | ||
x | int | |
y | int | |
return | void |
public static FireLoadingEvent ( int curr, int total ) : void | ||
curr | int | |
total | int | |
return | void |
public static GetBoundsRect ( |
||
src | ||
transparent | int | |
return |
public static Hq2x ( |
||
image | ||
return |
public static Load ( |
||
b | bitmap containing sprites | |
pal | ||
imgWid | int | |
imgHei | int | |
space | int | |
return | XCImageCollection |
public static LoadTile ( |
||
src | ||
imgNum | int | |
p | ||
startX | int | |
startY | int | |
imgWid | int | |
imgHei | int | |
return |
public static MakeBitmap ( int width, int height, System.Drawing.Imaging.ColorPalette pal ) : |
||
width | int | |
height | int | |
pal | System.Drawing.Imaging.ColorPalette | |
return |
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 | |
return |
public static Save ( string path, |
||
path | string | |
image | ||
return | void |
public static Save24 ( Stream s, |
||
s | Stream | |
image | ||
return | void |
public static Save24 ( string path, |
||
path | string | |
image | ||
return | 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 | |
return | void |