Options
All
  • Public
  • Public/Protected
  • All
Menu

A ClefInstruction is the clef placed at the beginning of the stave, which indicates the pitch of the notes.

Hierarchy

Index

Constructors

Properties

clefPitch: Pitch
clefType: ClefEnum = ClefEnum.G
line: number = 2
octaveOffset: number = 0
referenceCyPosition: number

Accessors

  • get ClefPitch(): Pitch
  • set ClefPitch(value: Pitch): void
  • get Line(): number
  • set Line(value: number): void
  • get OctaveOffset(): number
  • set OctaveOffset(value: number): void
  • get PrintObject(): boolean
  • set PrintObject(value: boolean): void
  • get ReferenceCyPosition(): number
  • set ReferenceCyPosition(value: number): void

Methods

  • ToString(): string
  • calcParameters(): void
  • isSupportedClef(clef: ClefEnum): boolean

Generated using TypeDoc