2.5.34 CFGradientItem

The CFGradientItem structure specifies one control point in the gradient curve. The gradient curve specifies a color scale used in conditional formatting and maps numerical values to colors.


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

numGrange

...

color (16 bytes)

...

...

numGrange (8 bytes): An Xnum (section 2.5.342) that specifies the numerical value of the control point. MUST be equal to 0.0 if this structure is the first element in the rgbCT.rgCurve array of the containing CF12 record. MUST be equal to 1.0 if this structure is the last element in the rgbCT.rgCurve array of the containing CF12 record.  MUST be equal to 0.5 if this structure is the second element in the rgbCT.rgCurve array of the containing CF12 record and the rgbCT.cInterpCurve field of the containing CF12 record is equal to 0x03. 

color (16 bytes): A CFColor that specifies the color associated with the numerical value specified in numGrange.