Mask Property

Applies To: Cursor, Icon

Description

This property is used to specify how the bitmap for a Cursor or Icon interacts with the pixels of the screen when it is displayed.

When a Cursor or Icon is displayed, the colour of each pixel occupied by the object on the screen is determined by :

  • The colour specified by Bits via CMap
  • The value of Mask
  • The existing colour of the screen pixel

Mask is a Boolean matrix with the same shape as the Bits property. See Cursor and Icon objects for further details.