VexFlowMeasure.ts 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import {StaffMeasure} from "../StaffMeasure";
  2. import {SourceMeasure} from "../../VoiceData/SourceMeasure";
  3. import {Staff} from "../../VoiceData/Staff";
  4. import {BoundingBox} from "../BoundingBox";
  5. import {StaffLine} from "../StaffLine";
  6. import {SystemLinesEnum} from "../SystemLinesEnum";
  7. import {ClefInstruction} from "../../VoiceData/Instructions/ClefInstruction";
  8. import {KeyInstruction} from "../../VoiceData/Instructions/KeyInstruction";
  9. import {RhythmInstruction} from "../../VoiceData/Instructions/RhythmInstruction";
  10. export class VexFlowMeasure extends StaffMeasure {
  11. constructor(sourceMeasure: SourceMeasure, staff: Staff) {
  12. super(staff, sourceMeasure);
  13. this.PositionAndShape = new BoundingBox(this);
  14. }
  15. constructor(staffLine: StaffLine) {
  16. super(staffLine);
  17. this.PositionAndShape = new BoundingBox(staffLine.PositionAndShape, this);
  18. }
  19. public resetLayout(): void {
  20. throw new NotImplementedException();
  21. }
  22. public getLineWidth(line: SystemLinesEnum): number {
  23. throw new NotImplementedException();
  24. }
  25. public addClefAtBegin(clef: ClefInstruction): void {
  26. throw new NotImplementedException();
  27. }
  28. public addKeyAtBegin(currentKey: KeyInstruction, previousKey: KeyInstruction, currentClef: ClefInstruction): void {
  29. throw new NotImplementedException();
  30. }
  31. public addRhythmAtBegin(rhythm: RhythmInstruction): void {
  32. throw new NotImplementedException();
  33. }
  34. public addClefAtEnd(clef: ClefInstruction): void {
  35. throw new NotImplementedException();
  36. }
  37. public setPositionInStaffline(xPos: number): void {
  38. throw new NotImplementedException();
  39. }
  40. public setWidth(width: number): void {
  41. throw new NotImplementedException();
  42. }
  43. public layoutSymbols(): void {
  44. throw new NotImplementedException();
  45. }
  46. }