XFA Specification
Chapter 15, Template Specification
Template Reference
424
Template Reference
The arc element
A curve that can be used for describing either an arc or an ellipse.
<arc
Properties:
circular="0
|
1"
hand="even
|
left
|
right"
id="xml-id"
startAngle="0
|
angle"
sweepAngle="360
|
angle"
use="cdata"
usehref="cdata"
>
<edge>
[0..1]
<fill>
[0..1]
</arc>
The arc element is used within the following other elements:
proto value
Unlike
borders
and
rectangles,
the path of an arc follows a counter-clockwise direction. This has
implications for
handedness.
In particular, an arc with a left-handed edge will render the edge's thickness
just inside the path, while left-handed borders and rectangles render the thickness just outside the path.
Similarly, an arc with a right-handed edge will render the edge's thickness just outside the path, while
right-handed borders and rectangles render the thickness just inside the path.
The circular property
Specifies whether the arc will be adjusted to a circular path.
0
The arc will not be adjusted to a circular path.
1
The arc will be adjusted to a circular path.
The default value of this property is 0.
Setting this property to
1
causes the arc to become circular, even if the content region into which the arc
is being placed is not square. When forced into a circle, the radius is equal to the smaller dimension of the
content region.
The edge property
Specifies the appearance of the rendered arc path.
The default value corresponds to an edge that produces a 0.5pt black stroke.
Home Index Bookmark Pages
Pages: Home Index All Pages