2.2.3.16 MilGradientStop

The MilGradientStop structure describes the location and color of a transition point in a gradient.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Offset

...

R

G

B

A

Offset (8 bytes): A 64-bit floating-point number. Describes the location of the gradient stop within the gradient vector.

R (4 bytes): A 4-byte floating-point number. The red component of the color of the gradient stop.

G (4 bytes): A 4-byte floating-point number. The green component of the color of the gradient stop.

B (4 bytes): A 4-byte floating-point number. The blue component of the color of the gradient stop.

A (4 bytes): A 4-byte floating-point number. The alpha component of the color of the gradient stop. Also called the opacity component.