XFA Specification
Chapter 15, Template Specification
Template Reference
472
The color element
An element that describes a color.
<color
Properties:
cSpace="SRGB
|
cdata"
id="xml-id"
use="cdata"
usehref="cdata"
value="0,0,0
|
cdata"
>
<extras>
[0..1]
</color>
The color element is used within the following other elements:
corner edge fill linear pattern proto radial stipple
The cSpace property
This property specifies the color space. The default, and currently the only allowed value, is
SRGB
.
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 use property
Invokes another object in the same document as a prototype for this object. The content of this property is
either a SOM expression (which cannot start with '#') or a '#' character followed by an XML ID.
Starting with XFA 2.4 the object used as a prototype no longer needs to be the child of
proto
. Any object
of the appropriate class can be used as a prototype.
If both
use
and
usehref
are non-empty
usehref
takes precedence.
The usehref property
Invokes an external object as a prototype for this object. The content of this property is an URL, followed
by '#', followed by either an XML ID or by som(SOM_expr) where
SOM_expr
represents a SOM expression.
The XML ID or SOM expression is resolved in the context of the external document.
If both
use
and
usehref
are non-empty
usehref
takes precedence.
The value property
This property specifies a comma separated list of values for each color component of the color space.
Home Index Bookmark Pages
Pages: Home Index All Pages