XFA Specification
Chapter 15, Template Specification
Template Reference
596
The pattern element
A fill type element that describes a hatching pattern.
<pattern
Properties:
id="xml-id"
type="crossHatch
|
horizontal
|
vertical
|
diagonalLeft
|
diagonalRight
|
crossDiagonal"
use="cdata"
usehref="cdata"
>
<color>
[0..1]
<extras>
[0..1]
</pattern>
The pattern element is used within the following other elements:
fill proto
The pattern is rendered as a series of parallel strokes, drawn at an application-defined interval across the
fill area. Some pattern variations draw a second set of strokes at right angles to the first set.
The strokes are drawn in the
foreground color
on top of a background that is pre-filled with the
background
color.
The
color element
enclosed by the linear element determines the foreground color. The color
element enclosed by the parent
fill element
determines the background 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 appearance of the pattern.
crossHatch
The pattern appears as a series of intersecting horizontal and vertical lines.
horizontal
The pattern appears as a series of horizontal lines.
Home Index Bookmark Pages
Pages: Home Index All Pages