<classSpec ident="att.lineRend.base" module="MEI.shared" type="atts">
<desc xml:lang="en">Attributes that record the basic visual rendition of lines.</desc>
<attList>
<!-- @llength not necessary:
@llength implies we know the direction of the vector which we
can't know without establishing an end point, which in turn makes
@llength redundant. -->
<attDef ident="lform" usage="opt">
<desc xml:lang="en">Describes the style of a line.</desc>
</attDef>
<attDef ident="lwidth" usage="opt">
<desc xml:lang="en">Width of a line.</desc>
</attDef>
<attDef ident="lsegs" usage="opt">
<desc xml:lang="en">Describes the number of segments into which a dashed or dotted line may be divided,
or
the number of "peaks" of a wavy line; a pair of space-separated values (minimum and
maximum, respectively) provides a range between which a rendering system-supplied
value
may fall, while a single value indicates a fixed amount of space; that is, the minimum
and
maximum values are equal.</desc>
<datatype minOccurs="1" maxOccurs="2">
<rng:data type="positiveInteger">
<rng:param name="minInclusive">2</rng:param>
</rng:data>
</datatype>
<constraintSpec ident="check_lsegs" scheme="schematron">
<constraint>
<sch:rule context="@lsegs">
<sch:assert test="matches(../@lform, '(dashed|dotted|wavy)')">@lform attribute
matching "dashed", "dotted", or "wavy" required.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
<!-- Possible addition:
<attDef ident="lwaveheight" usage="opt">
<desc xml:lang="en">Captures the height of peaks of a wavy line.</desc>
<datatype>
<rng:ref name="data.MEASUREMENT"/>
</datatype>
</attDef>
-->
</attList>
</classSpec>