ImageEn, unit iexBitmaps

TIEBitmap.IsAllBlack

TIEBitmap.IsAllBlack


Declaration

function IsAllBlack(): boolean;


Description

Return true if all pixels are Zero.


Examples

If iebmp.IsAllBlack() then
  ShowMessage( 'Image is completely black' );

If iebmp.AlphaChannel.IsAllBlack() then
  ShowMessage( 'Image is completely transparent' );


See Also

- Full
- SyncFull
- IsEmpty
- IsBlank