Reference IBitmap
Declared in Codebot.Graphics.Types.pas on line 1121
IBitmap extends IBitmapData from Codebot.Platform, which provides Width, Height, Pixels, SetSize, and the load and save methods
IBitmap = interface(IBitmapData)
public
{ Create a clone of the bitmap }
function Clone: IBitmap;
{ Release the image making the bitmap empty }
procedure Clear;
{ Return a scaled copy of the bitmap }
function Resample(Width, Height: Integer; Quality: TResampleQuality = rqNormal): IBitmap;
{ Empty is true when the bitmap has no pixels }
property Empty: Boolean read GetEmpty;
{ A surface for drawing on the bitmap }
property Surface: ISurface read GetSurface;
{ A rectangle at the origin the size of the bitmap }
property ClientRect: TRectI read GetClientRect;
{ The format used when saving }
property Format: TImageFormat read GetFormat write SetFormat;
end;See also
IBitmapData in Codebot.Platform.pas