Class TBGRAMemoryStreamBitmap

Unit

Declaration

type TBGRAMemoryStreamBitmap = class(TBGRAPtrBitmap)

Description

Bitmap relying on a memory stream containing RGBA pixel data

Hierarchy

Overview

Fields

Protected FOwnStream: boolean;
Protected FStream: TMemoryStream;
Protected FStreamOffset: IntPtr;

Methods

Public constructor Create(AWidth, AHeight: integer; const AColor: TBGRAPixel); override;
Public constructor Create(AWidth, AHeight: integer); override;
Public constructor Create(AWidth, AHeight: integer; AStream: TMemoryStream; AStreamOffset: IntPtr; AOwnStream: boolean);
Public destructor Destroy; override;

Properties

Public property OwnStream: boolean read GetOwnStream write SetOwnStream;
Public property Stream: TMemoryStream read FStream;

Description

Fields

Protected FOwnStream: boolean;

This item has no description.

Protected FStream: TMemoryStream;

This item has no description.

Protected FStreamOffset: IntPtr;

This item has no description.

Methods

Public constructor Create(AWidth, AHeight: integer; const AColor: TBGRAPixel); override;

This item has no description.

Public constructor Create(AWidth, AHeight: integer); override;

This item has no description. Showing description inherited from TCustomUniversalBitmap.Create.

Creates a new bitmap, initialize properties and bitmap data

Public constructor Create(AWidth, AHeight: integer; AStream: TMemoryStream; AStreamOffset: IntPtr; AOwnStream: boolean);

This item has no description.

Public destructor Destroy; override;

This item has no description. Showing description inherited from TBGRADefaultBitmap.Destroy.

Free the object and all its resources

Properties

Public property OwnStream: boolean read GetOwnStream write SetOwnStream;

This item has no description.

Public property Stream: TMemoryStream read FStream;

This item has no description.