XFA Specification
Chapter 15, Template Specification
Template Reference
498
The edge element
A formatting element that describes an arc, line, or one side of a border or rectangle.
<edge
Properties:
cap="square
|
butt
|
round"
id="xml-id"
presence="visible
|
invisible
|
hidden"
stroke="solid
|
dashed
|
dotted
|
lowered
|
raised
|
etched
|
embossed
|
dashDot
|
dashDotDot"
thickness="0.5pt
|
measurement"
use="cdata"
usehref="cdata"
>
<color>
[0..1]
<extras>
[0..1]
</edge>
The edge element is used within the following other elements:
arc border line proto rectangle
The properties here influence the appearance of the edge. In addition, the
handedness
element influences the edge's appearance.
When an edge is part of a
border
rectangle,
the sibling
corner elements
appearance of edges. In particular, each edge is trimmed back from its endpoints by the corner
radius
in
effect at that endpoint, irrespective of whether the corner is round or square, inverted or not, and visible or
invisible.
The default edge color is black.
The cap property
Specifies the rendered termination of the stroke. Strokes that form an enclosed area do not have such
termination. In particular,
all
rectangle and border edges, as well as all 360-degree arc edges are not
considered to have any termination, and this property does not apply. Arcs with sweep angles less than
360 degrees and lines
do
have terminations at both endpoints.
square
The stroke shall be terminated by rendering the end of the edge squarely beyond the edge's
endpoint a distance equal to one-half the edge's thickness.
butt
The stroke shall be terminated by rendering the end of the edge squarely across the endpoint.
round
The stroke shall be terminated by rendering the end of the edge with a semi-circle at the edge's
endpoint, having a radius equal to one-half the edge's thickness.