Skip to main content

TdxAlphaState Enum

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

Declaration

TdxAlphaState = (
    asNoAlpha,
    asSemitransparent,
    asOpaque
);

Members

Name
asNoAlpha
asSemitransparent
asOpaque

Remarks

Options include:

Value Description
asNoAlpha The pixel data does not include transparency information. The image is treated as opaque.
asSemitransparent The pixel data includes transparency information. The image has at least one semi-transparent pixel.
asOpaque The pixel data includes transparency information. The image has no transparent or semi-transparent pixels.

The dxGetAlphaState global function returns a TdxAlphaState value.

See Also