The <distance> element

Parent element: <appearance>

The <distance> element represents standard distances between notation elements in tenths.

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

Hierarchy

  • Distance

Implements

Constructors

Properties

attributes: DistanceAttributes
schema: {
    attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["beam", "hyphen"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "distance";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    }];
    name: "distance";
} = Distance.schema

Type declaration

  • Readonly attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["beam", "hyphen"];
                type: "choices";
            };
        };
    }
    • Readonly type: {
          type: "required";
          value: {
              choices: readonly ["beam", "hyphen"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["beam", "hyphen"];
            type: "choices";
        }
        • Readonly choices: readonly ["beam", "hyphen"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "distance";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    }]
  • Readonly name: "distance"
schema: {
    attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["beam", "hyphen"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "distance";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    }];
    name: "distance";
} = ...

Type declaration

  • Readonly attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["beam", "hyphen"];
                type: "choices";
            };
        };
    }
    • Readonly type: {
          type: "required";
          value: {
              choices: readonly ["beam", "hyphen"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["beam", "hyphen"];
            type: "choices";
        }
        • Readonly choices: readonly ["beam", "hyphen"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "distance";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    }]
  • Readonly name: "distance"

Methods

Generated using TypeDoc