XFA Specification
Chapter 15, Template Specification
Template Reference
535
The fill element
A formatting element that applies a color and optional rendered designs to the region enclosed by an
object.
<fill
Properties:
id="xml-id"
presence="visible
|
invisible
|
hidden"
use="cdata"
usehref="cdata"
>
<color>
[0..1]
<extras>
[0..1]
One-of properties:
<linear>
[0..1]
<pattern>
[0..1]
<radial>
[0..1]
<solid>
[0..1]
<stipple>
[0..1]
</fill>
The fill element is used within the following other elements:
arc border font proto rectangle
In the absence of a fill element the object is drawn without any fill, except for text which is drawn with a
solid black fill.
The fill element has a child
color element
that specifies the
backgroundor starting
color. If a fill element is
provided but it has no child color element the color defaults to white.
The fill element also has a child fill type element (linear,
pattern, radial, solid, stipple)
that specifies the type
of fill operation to perform. This uses the color established with the fill's color element, possibly along with
its own color, to achieve the desired effect. If a fill element is provided but it has no child type element the
type defaults to solid.
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.
Home Index Bookmark Pages
Pages: Home Index All Pages