Navigation:  Classes > bDrawValueEvent >

bDrawValueEvent:AlphaBlendRatio

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Mixture ratio for the overlapping of colors.

Class

bDrawValueEvent

Type

Access

Data Type

DWord

Description

bDrawValueEvent:AlphaBlendRatio defines the mixture ratio for overlapping two colors. The higher the value, the lower is the transparency. The lower the value, the more it shows through the other one.

 

Supported values are 0 to 100 or the constants below:

 

Constant

Value

BABR_NONE

0

BABR_LIGHT

12

BABR_NORMAL

25

BABR_DARK

45

BABR_SOLID

100

BABR_AUTO

0xFFFFFFFF

 

The table below shows the result of different overlapping ratios for colors 1 and 2:

 

Constant

Color 1

Color 2

Result

BABR_LIGHT

ABR_COLOR_1

ABR_COLOR_2

ABR_COLOR_RATIO12

BABR_NORMAL

ABR_COLOR_1

ABR_COLOR_2

ABR_COLOR_RATIO25

BABR_DARK

ABR_COLOR_1

ABR_COLOR_2

ABR_COLOR_RATIO45

BABR_SOLID

ABR_COLOR_1

ABR_COLOR_2

ABR_COLOR_RATIO100

 

Important note!
The access is supported only for Windows 2000 and newer operating systems.

See Also

bDrawValueEvent:Background

bDrawValueEvent:Foreground

 


Page url: http://www.YOURSERVER.com/index.html?bdrawvalueevent_alphablendratio.htm