12345678910111213141516171819202122232425262728 |
- import {Tie} from "../VoiceData/Tie";
- import {GraphicalNote} from "./GraphicalNote";
- export class GraphicalTie {
- private tie: Tie;
- private startNote: GraphicalNote;
- private endNote: GraphicalNote;
- constructor(tie: Tie, start: GraphicalNote = undefined, end: GraphicalNote = undefined) {
- this.tie = tie;
- this.startNote = start;
- this.endNote = end;
- }
- public get GetTie(): Tie {
- return this.tie;
- }
- public get StartNote(): GraphicalNote {
- return this.startNote;
- }
- public set StartNote(value: GraphicalNote) {
- this.startNote = value;
- }
- public get EndNote(): GraphicalNote {
- return this.endNote;
- }
- public set EndNote(value: GraphicalNote) {
- this.endNote = value;
- }
- }
|