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.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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.