Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32🞂TCustomBitmap32🞂BoundsRectMethodPublic

TCustomBitmap32.BoundsRect

Returns a TRect structure representing the full pixel bounds of the bitmap.

Declaration ​

pascal
function BoundsRect: TRect;

Returns ​

TypeDescription
TRectA TRect structure representing the full pixel bounds (0, 0, Width, Height) of the bitmap.

Description ​

BoundsRect returns a rectangle structure (TRect) spanning from (0, 0) to (Width, Height).

Example ​

pascal
Bitmap.FillRect(Bitmap.BoundsRect, clWhite32);