Show / Hide Table of Contents

    Interface IBitmapLoader

    This interface allows creating bitmaps.

    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface IBitmapLoader

    Methods

    | Improve this Doc View Source

    Load(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.

    | Improve this Doc View Source

    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.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX