Show: Delphi C++
Display Preferences

Vcl.Graphics.TAlphaFormat

From XE2 API Documentation
Jump to: navigation, search

Delphi

type TAlphaFormat = (afIgnored, afDefined, afPremultiplied)

C++

enum TAlphaFormat : unsigned char { afIgnored, afDefined, afPremultiplied };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TAlphaFormat indicates how the reserved byte of each pixel is used in a 32 bit bitmap.

TAlphaFormat has the following values:



Value Meaning

afIgnored

The Reserved byte in the TRGBQuad is ignored.

afDefined

The reserved byte in the TRGBQuad contains an alpha value.

afPremultiplied

The reserved byte in the TRGBQuad contains an alpha value. The red, green, and blue values have been premultiplied with the alpha value.

Personal tools
Previous Versions
Translations