Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#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: TGraphicsColor

);

Arguments

ATransparentColor

  

Color used to represent transparent pixels in the mask.

Description

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