StaffLine.d.ts 987 B

123456789101112131415161718192021222324
  1. import { Staff } from "../VoiceData/Staff";
  2. import { GraphicalLine } from "./GraphicalLine";
  3. import { GraphicalStaffEntry } from "./GraphicalStaffEntry";
  4. import { GraphicalObject } from "./GraphicalObject";
  5. import { StaffMeasure } from "./StaffMeasure";
  6. import { MusicSystem } from "./MusicSystem";
  7. export declare abstract class StaffLine extends GraphicalObject {
  8. protected measures: StaffMeasure[];
  9. protected staffLines: GraphicalLine[];
  10. protected parentMusicSystem: MusicSystem;
  11. protected parentStaff: Staff;
  12. protected skyLine: number[];
  13. protected bottomLine: number[];
  14. constructor(parentSystem: MusicSystem, parentStaff: Staff);
  15. Measures: StaffMeasure[];
  16. StaffLines: GraphicalLine[];
  17. ParentMusicSystem: MusicSystem;
  18. ParentStaff: Staff;
  19. SkyLine: number[];
  20. BottomLine: number[];
  21. addActivitySymbolClickArea(): void;
  22. isPartOfMultiStaffInstrument(): boolean;
  23. findClosestStaffEntry(xPosition: number): GraphicalStaffEntry;
  24. }