The <appearance> element

Parent element: <defaults>

The <appearance> element controls general graphical settings for the music's final form appearance on a printed page of display. This includes support for line widths, definitions for note sizes, standard distances between notation elements, and Standard Music Font Layout (SMuFL) glyphs, plus an extension element for other aspects of appearance.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/appearance/

Hierarchy

  • Appearance

Implements

Constructors

Properties

schema: {
    attributes: {};
    contents: readonly [{
        label: "line-widths";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof LineWidth;
        };
    }, {
        label: "note-sizes";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof NoteSize;
        };
    }, {
        label: "distances";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof Distance;
        };
    }, {
        label: "glyphs";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof Glyph;
        };
    }, {
        label: "other-appearances";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: typeof OtherAppearance;
        };
    }];
    name: "appearance";
} = Appearance.schema

Type declaration

  • Readonly attributes: {}
    • Readonly contents: readonly [{
          label: "line-widths";
          type: "label";
          value: {
              type: "zeroOrMore";
              value: typeof LineWidth;
          };
      }, {
          label: "note-sizes";
          type: "label";
          value: {
              type: "zeroOrMore";
              value: typeof NoteSize;
          };
      }, {
          label: "distances";
          type: "label";
          value: {
              type: "zeroOrMore";
              value: typeof Distance;
          };
      }, {
          label: "glyphs";
          type: "label";
          value: {
              type: "zeroOrMore";
              value: typeof Glyph;
          };
      }, {
          label: "other-appearances";
          type: "label";
          value: {
              type: "zeroOrMore";
              value: typeof OtherAppearance;
          };
      }]
    • Readonly name: "appearance"
    schema: {
        attributes: {};
        contents: readonly [{
            label: "line-widths";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof LineWidth;
            };
        }, {
            label: "note-sizes";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof NoteSize;
            };
        }, {
            label: "distances";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof Distance;
            };
        }, {
            label: "glyphs";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof Glyph;
            };
        }, {
            label: "other-appearances";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof OtherAppearance;
            };
        }];
        name: "appearance";
    } = ...

    Type declaration

    • Readonly attributes: {}
      • Readonly contents: readonly [{
            label: "line-widths";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof LineWidth;
            };
        }, {
            label: "note-sizes";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof NoteSize;
            };
        }, {
            label: "distances";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof Distance;
            };
        }, {
            label: "glyphs";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof Glyph;
            };
        }, {
            label: "other-appearances";
            type: "label";
            value: {
                type: "zeroOrMore";
                value: typeof OtherAppearance;
            };
        }]
      • Readonly name: "appearance"

      Methods

      Generated using TypeDoc