FMX.Graphics.TBitmap.ApplyMask

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ApplyMask(const Mask: PByteArray; const DstX: Integer = 0; const DstY: Integer = 0);

C++

void __fastcall ApplyMask(const System::Sysutils::PByteArray Mask, const int DstX = 0x0, const int DstY = 0x0);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TBitmap

Description

Applies a specified mask on a TBitmap object, at a specified position.

The Mask parameter is a PByteArray pointer that specifies the mask to be applied on the TBitmap image. To create a mask, call CreateMask.

DstX and DstY specify the point on the TBitmap image where the Mask is applied. By default, Mask is applied starting from the upper-left corner of the image.

See Also