Interface IBitmapLoader
This interface allows creating bitmaps.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IBitmapLoader
Methods
| Improve this Doc View SourceLoad(Int32, Int32)
Creates an empty bitmap with the specified width and height (in pixels).
Declaration
IBitmap Load(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | Width. |
System.Int32 | height | Height. |
Returns
Type | Description |
---|---|
IBitmap | The bitmap. |
Load(Stream)
Create a bitmap from a stream of data (this could be loaded from a file, or some other stream like from a network, or from memory).
Declaration
IBitmap Load(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream. |
Returns
Type | Description |
---|---|
IBitmap | The bitmap. |