att.lineRend.base

Attributes that record the basic visual rendition of lines.
Module
MEI.shared
Attributes
lform, lsegs, lwidth
lform(optional)Describes the line style of a line. Value conforms to data.LINEFORM.
lsegs(optional)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. One or two values of datatype a positive integer no smaller than 2, separated by a space.
lwidth(optional)Width of a line. Value conforms to data.LINEWIDTH.
lform(optional)Describes the line style of a line. Value conforms to data.LINEFORM.
lsegs(optional)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. One or two values of datatype a positive integer no smaller than 2, separated by a space.
lwidth(optional)Width of a line. Value conforms to data.LINEWIDTH.
Component declarations that are shared between two or more modules.
lform(optional)Describes the line style of a line. Value conforms to data.LINEFORM.
lsegs(optional)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. One or two values of datatype a positive integer no smaller than 2, separated by a space.
lwidth(optional)Width of a line. Value conforms to data.LINEWIDTH.
Available at
attaccaAn instruction to begin the next section or movement of a composition without pause.
dir(directive) – An instruction expressed as a combination of text and symbols — such as segno and coda symbols, fermatas over a bar line, etc., typically above, below, or between staves, but not on the staff — that is not encoded elsewhere in more specific elements, like tempo or dynam.
dynam(dynamic) – Indication of the volume of a note, phrase, or section of music.
f(figure) – Single element of a figured bass indication.
fingfinger – An individual finger in a fingering indication.
fingGrp(finger group)– A group of individual fingers in a fingering indication.
harm(harmony) – An indication of harmony, e.g., chord names, tablature grids, harmonic analysis, figured bass.
octaveAn indication that a passage should be performed one or more octaves above or below its written pitch.
trillRapid alternation of a note with another (usually at the interval of a second above).
bracketSpanMarks a sequence of notational events grouped by a bracket.
endingAlternative ending for a repeated passage of music; i.e., prima volta, seconda volta, etc.
gliss(glissando) – A continuous or sliding movement from one pitch to another, usually indicated by a straight or wavy line.
pedalPiano pedal mark.
hairpinIndicates continuous dynamics expressed on the score as wedge-shaped graphics, e.g. < and >.
Common Music Notation (CMN) repertoire component declarations.
attaccaAn instruction to begin the next section or movement of a composition without pause.
bracketSpanMarks a sequence of notational events grouped by a bracket.
gliss(glissando) – A continuous or sliding movement from one pitch to another, usually indicated by a straight or wavy line.
hairpinIndicates continuous dynamics expressed on the score as wedge-shaped graphics, e.g. < and >.
octaveAn indication that a passage should be performed one or more octaves above or below its written pitch.
pedalPiano pedal mark.
CMN ornament component declarations.
trillRapid alternation of a note with another (usually at the interval of a second above).
Fingering component declarations.
fingfinger – An individual finger in a fingering indication.
fingGrp(finger group)– A group of individual fingers in a fingering indication.
Harmony component declarations.
f(figure) – Single element of a figured bass indication.
harm(harmony) – An indication of harmony, e.g., chord names, tablature grids, harmonic analysis, figured bass.
Component declarations that are shared between two or more modules.
dir(directive) – An instruction expressed as a combination of text and symbols — such as segno and coda symbols, fermatas over a bar line, etc., typically above, below, or between staves, but not on the staff — that is not encoded elsewhere in more specific elements, like tempo or dynam.
dynam(dynamic) – Indication of the volume of a note, phrase, or section of music.
endingAlternative ending for a repeated passage of music; i.e., prima volta, seconda volta, etc.
Constraints

@lform attribute matching "dashed", "dotted", or "wavy" required.

Declaration
<classSpec ident="att.lineRend.base" module="MEI.shared" type="atts">
<desc>Attributes that record the basic visual rendition of lines.</desc>
<attList>
<attDef ident="lform" usage="opt">
<desc>Describes the line style of a line.</desc>
<datatype>
<rng:ref name="data.LINEFORM"/>
</datatype>
</attDef>
<!-- @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="lsegs" usage="opt">
<desc>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="isoschematron">
<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>
<attDef ident="lwidth" usage="opt">
<desc>Width of a line.</desc>
<datatype>
<rng:ref name="data.LINEWIDTH"/>
</datatype>
</attDef>
<!-- Possible addition: <attDef ident="lwaveheight" usage="opt"> <desc>Captures the height of peaks of a wavy line.</desc> <datatype> <rng:ref name="data.MEASUREMENT"/> </datatype> </attDef> -->
</attList>
</classSpec>