2.5.162 XFPropGradient
The XFPropGradient structure specifies a gradient fill.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
|||||||||||||||||||||||||||||||
numDegree |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
numFillToLeft |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
numFillToRight |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
numFillToTop |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
numFillToBottom |
|||||||||||||||||||||||||||||||
... |
type (4 bytes): A signed integer that specifies the gradient type. This value MUST be a value from the following table.
-
Value
Meaning
0x00000000
0x00000001
numDegree (8 bytes): An Xnum (section 2.5.172) structure that specifies the gradient angle, in degrees, for linear gradients. The gradient angle specifies the angle at which gradient strokes are drawn. If type equals 0x00000001, this value MUST equal 0.0.
numFillToLeft (8 bytes): An Xnum structure that specifies the left coordinate of the inner rectangle for rectangular gradients, where (0.0,0.0) is the upper-left corner of the inner rectangle. This value MUST be greater than or equal to 0.0 and less than or equal to 1.0. If type equals 0x00000000, this value MUST equal 0.0.
numFillToRight (8 bytes): An Xnum structure that specifies the right coordinate of the inner rectangle for rectangular gradients, where (0.0,0.0) is the upper-left corner of the inner rectangle. This value MUST be greater than or equal to 0.0 and less than or equal to 1.0. If type equals 0x00000000, this value MUST equal 0.0.
numFillToTop (8 bytes): An Xnum structure that specifies the top coordinate of the inner rectangle for rectangular gradients, where (0.0,0.0) is the upper-left corner of the inner rectangle. This value MUST be greater than or equal to 0.0 and less than or equal to 1.0. If type equals 0x00000000, this value MUST equal 0.0.
numFillToBottom (8 bytes): An Xnum structure that specifies the bottom coordinate of the inner rectangle for rectangular gradients, where (0.0,0.0) is the upper-left corner of the inner rectangle. This value MUST be greater than or equal to 0.0 and less than or equal to 1.0. If type equals 0x00000000, this value MUST equal 0.0.