function CreateBitmask(Components: TColor32Components): TColor32; overload;
This function takes a set of TColor32Component and creates a TColor32. If a given component is present in the set, the result component will get the value 255; if not present the result component will be zero. The context of application is to prepare a Bitmask parameter for the routine ApplyBitmask. To construct bitmasks containing any number in range [0..255] per component, use Color32.
Color32, Color Types, ApplyBitmask
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024