Back to Devexpress

TdxAlphaState Enum

vcl-dxcoregraphics-7359f837.md

latest912 B
Original Source

TdxAlphaState Enum

Enumerates available states of pixel transparency information that bitmaps can store.

Declaration

delphi
TdxAlphaState = (
    asNoAlpha,
    asSemitransparent,
    asOpaque
);

Members

Name
asNoAlpha
asSemitransparent
asOpaque

Remarks

Options include:

ValueDescription
asNoAlphaThe pixel data does not include transparency information. The image is treated as opaque.
asSemitransparentThe pixel data includes transparency information. The image has at least one semi-transparent pixel.
asOpaqueThe pixel data includes transparency information. The image has no transparent or semi-transparent pixels.

The dxGetAlphaState global function returns a TdxAlphaState value.

See Also

dxCoreGraphics Unit