Revised: Class BarNote has new constructor

- rollback: constructor in class Note.
- creation: constructor() in class BarNote.
This commit is contained in:
nearbydelta
2017-07-08 10:36:34 +09:00
parent 03d228ff8e
commit aa41e744cf

View File

@@ -187,6 +187,7 @@ declare namespace Vex {
class BarNote extends Note {
static DEBUG : boolean;
constructor();
getType() : Barline.type;
setType(type : Barline.type) : BarNote;
getBoundingBox() : BoundingBox;
@@ -619,7 +620,7 @@ declare namespace Vex {
applyTickMultiplier(numerator : number, denominator : number) : void;
setDuration(duration : Fraction) : void;
constructor(note_struct? : {type? : string, dots? : number, duration : string});
constructor(note_struct : {type? : string, dots? : number, duration : string});
getPlayNote() : any;
setPlayNote(note : any) : Note;
isRest() : boolean;