Метод | Описание | |
---|---|---|
Clear ( byte visualValue = 15, byte priorityValue, byte controlValue, byte auxiliaryValue, PictureLayer mask = PictureLayer.All ) : void |
Clear all of the layers to their default values (by default), or specific layers with specific values if desired. This locks, then unlocks the bitmaps.
|
|
GetRaster ( PictureLayer layer ) : Raster |
Get a raster layer.
|
|
Lock ( ) : void |
Lock all the raster images to start drawing to them.
|
|
PictureCanvas ( |
Create a new PictureCanvas using the Picture's dimensions, and using the Picture's Palette, if any.
|
|
PictureCanvas ( Vector2i resolution, |
Initialise the canvas.
|
|
PictureCanvas ( int width, int height ) : System |
Initialise the canvas.
|
|
Unlock ( ) : void |
Unlock all the raster images, flushing their changes.
|
public Clear ( byte visualValue = 15, byte priorityValue, byte controlValue, byte auxiliaryValue, PictureLayer mask = PictureLayer.All ) : void | ||
visualValue | byte | What to clear the visual map to if Layer.Visual is included in mask. |
priorityValue | byte | What to clear the priority map to if Layer.Priority is included in mask. |
controlValue | byte | What to clear the control map to if Layer.Control is included in mask. |
auxiliaryValue | byte | What to clear the auxiliary map to if Layer.Auxiliary is included in mask. |
mask | PictureLayer | |
Результат | void |
public GetRaster ( PictureLayer layer ) : Raster | ||
layer | PictureLayer | |
Результат | Raster |
public PictureCanvas ( |
||
picture | ||
Результат | System |
public PictureCanvas ( Vector2i resolution, |
||
resolution | Vector2i | |
palette | ||
Результат | System |
public PictureCanvas ( int width, int height ) : System | ||
width | int | |
height | int | |
Результат | System |