[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TRasterImage.Mask

Applies the color used for transparent pixels to the image.

Declaration

Source position: graphics.pp line 1297

public procedure TRasterImage.Mask(

  ATransparentColor: TColor

);

Arguments

ATransparentColor

  

Color used to represent transparent pixels in the mask.

Description

Calls CreateMask to create and apply the mask handle required for the fixed color transparency.