XFA Specification
Chapter 15, Template Specification
Template Reference
565
The linear element
A fill type element that describes a linear gradient fill.
<linear
Properties:
id="xml-id"
type="toRight
|
toBottom
|
toLeft
|
toTop"
use="cdata"
usehref="cdata"
>
<color>
[0..1]
<extras>
[0..1]
</linear>
The linear element is used within the following other elements:
fill proto
A linear gradient fill appears as the
start color
at one "side" of the object and the
end color
at the opposite
side. Between those two sides, the color gradually changes from start color to end color.
The
color element
enclosed by the linear element determines the end color. The color element enclosed
by the parent
fill element
determines the start color.
The color property
An element that describes a color.
For more information see "The
color element".
The extras property
An enclosure around one or more sets of custom properties. The content of this element may be used by
custom applications.
For more information see "The
extras element".
The id property
A unique identifier that may be used to identify this element as a target.
The type property
Specifies the direction of the color transition.
toRight
The start color appears at the left side of the object and transitions into the end color at the right
side.
toLeft
The start color appears at the right side of the object and transitions into the end color at the left
side.
Home Index Bookmark Pages
Pages: Home Index All Pages