API:Vcl.RibbonStyleActnCtrls.TAlphaBitmap

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Graphics.TBitmapVcl.Graphics.TGraphicSystem.Classes.TInterfacedPersistentSystem.Classes.TPersistentSystem.TObjectTAlphaBitmap

Delphi

TAlphaBitmap = class(TBitmap)

C++

class PASCALIMPLEMENTATION TAlphaBitmap : public Vcl::Graphics::TBitmap

Properties

Type Visibility Source Unit Parent
class public
Vcl.RibbonStyleActnCtrls.pas
Vcl.RibbonStyleActnCtrls.hpp
Vcl.RibbonStyleActnCtrls Vcl.RibbonStyleActnCtrls

Description

TBitmap is an encapsulation of a Windows bitmap (HBITMAP), including its palette (HPALETTE).

Vcl.RibbonStyleActnCtrls.TAlphaBitmap inherits from Vcl.Graphics.TBitmap. All content below this line refers to Vcl.Graphics.TBitmap.

TBitmap is an encapsulation of a Windows bitmap (HBITMAP), including its palette (HPALETTE).

A bitmap is a powerful graphics object used to create, manipulate and store images in memory and as files on a disk.

TBitmap contains an internal image of the bitmap graphic and automatically manages realization of the palette when drawn.

To draw a bitmap on a canvas, call the Draw or StretchDraw methods of a TCanvas object, passing a TBitmap as a parameter.

Creating copies of a TBitmap is very fast since the handle is copied rather than the image. If the image is modified and the handle is shared by more than one TBitmap object, the image is copied before the modification is performed (that is, copy on write).

See Also

Code Examples