Package org.audiveris.proxymusic
Class Glyph
java.lang.Object
org.audiveris.proxymusic.Glyph
The glyph element represents what SMuFL glyph should be used for different variations of symbols that are semantically identical. The type attribute specifies what type of glyph is being defined. The element value specifies what SMuFL glyph to use, including recommended stylistic alternates. The SMuFL glyph name should match the type. For instance, a type of quarter-rest would use values restQuarter, restQuarterOld, or restQuarterZ. A type of g-clef-ottava-bassa would use values gClef8vb, gClef8vbOld, or gClef8vbCClef. A type of octave-shift-up-8 would use values ottava, ottavaBassa, ottavaBassaBa, ottavaBassaVb, or octaveBassa.
Java class for glyph complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="glyph">
<simpleContent>
<extension base="<>smufl-glyph-name">
<attribute name="type" use="required" type="{}glyph-type" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()Gets the value of the type property.getValue()The smufl-glyph-name type is used for attributes that reference a specific Standard Music Font Layout (SMuFL) character.voidSets the value of the type property.voidSets the value of the value property.
-
Field Details
-
value
-
type
-
-
Constructor Details
-
Glyph
public Glyph()
-
-
Method Details
-
getValue
The smufl-glyph-name type is used for attributes that reference a specific Standard Music Font Layout (SMuFL) character. The value is a SMuFL canonical glyph name, not a code point. For instance, the value for a standard piano pedal mark would be keyboardPedalPed, not U+E650.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-