NoteheadAttributes: {
    color: string | null;
    filled: "yes" | "no" | null;
    font-family: string | null;
    font-size: "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large" | number | null;
    font-style: "normal" | "italic" | null;
    font-weight: "normal" | "bold" | null;
    parentheses: "yes" | "no" | null;
    smufl: string | null;
}

Type declaration

  • color: string | null

    Indicates the color of an element.

  • filled: "yes" | "no" | null

    Changes the appearance of enclosed shapes from the default of hollow for half notes and longer, and filled otherwise.

  • font-family: string | null

    A comma-separated list of font names.

  • font-size: "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large" | number | null

    One of the CSS sizes or a numeric point size.

  • font-style: "normal" | "italic" | null

    Normal or italic style.

  • font-weight: "normal" | "bold" | null

    Normal or bold weight.

  • parentheses: "yes" | "no" | null

    If yes, the notehead is parenthesized. It is no if not specified.

  • smufl: string | null

    Indicates a particular Standard Music Font Layout (SMuFL) character using its canonical glyph name. Sometimes this is a formatting choice, and sometimes this is a refinement of the semantic meaning of an element.

Generated using TypeDoc