Graphics.AllocPatternBitmap
From RAD Studio VCL Reference
Contents |
Delphi Information
From Graphics.pas
function AllocPatternBitmap(BkColor: TColor; FgColor: TColor): TBitmap;
Unit: Graphics
Type: function
Visibility: public
C++ Information
From Graphics.hpp
Graphics::TBitmap * __fastcall AllocPatternBitmap(Graphics::TColor BkColor, Graphics::TColor FgColor);
Unit: Graphics
Type: function
Description
Creates a TBitmap filled with a pattern.
AllocPatternBitmap returns a reference to an 8 by 8 pixel TBitmap that is filled with a pattern. Pixels alternate between BkColor and FgColor colors horizontally and vertically in a quilt pattern.