2.5.286 XFPropGradient

The XFPropGradient structure specifies a gradient fill.


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

type

numDegree

...

numFillToLeft

...

numFillToRight

...

numFillToTop

...

numFillToBottom

...

type (4 bytes):  A Boolean (section 2.5.14) that specifies the gradient type. MUST be a value from the following table:

Value

Meaning

0x00000000

Linear gradient

0x00000001

Rectangular gradient

numDegree (8 bytes): An Xnum (section 2.5.342) that specifies the gradient angle in degrees for a linear gradient. The gradient angle specifies the angle at which gradient strokes are drawn.

numFillToLeft (8 bytes): An Xnum that specifies the left coordinate of the inner rectangle for a rectangular gradient, where (0.0,0.0) is the upper-left hand corner of the inner rectangle. MUST be greater than or equal to 0.0 and less than or equal to 1.0.

numFillToRight (8 bytes): An Xnum that specifies the right coordinate of the inner rectangle for a rectangular gradient, where (0.0,0.0) is the upper-left hand corner of the inner rectangle. MUST be greater than or equal to 0.0 and less than or equal to 1.0.

numFillToTop (8 bytes): An Xnum that specifies the top coordinate of the inner rectangle for a rectangular gradient, where (0.0,0.0) is the upper-left hand corner of the inner rectangle. MUST be greater than or equal to 0.0 and less than or equal to 1.0.

numFillToBottom (8 bytes): An Xnum that specifies the bottom coordinate of the inner rectangle for a rectangular gradient, where (0.0,0.0) is the upper-left hand corner of the inner rectangle. MUST be greater than or equal to 0.0 and less than or equal to 1.0.