mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-06 12:30:10 +08:00
fixed definition of Vex.Flow.Formatter
- fixed arguments of FormatAndDraw() - fixed arguments of FormatAndDrawTab()
This commit is contained in:
1 parent
b4b5855f86
commit
ab17e16853
1 file changed
+4
-4
Vendored
+4
-4
@@ -384,10 +384,10 @@ declare module Vex {
|
||||
|
||||
class Formatter {
|
||||
static DEBUG : boolean;
|
||||
static FormatAndDraw(ctx : IRenderContext, stave : Stave, notes : Note[], params : {auto_beam : boolean, align_rests : boolean}) : BoundingBox;
|
||||
static FormatAndDraw(ctx : IRenderContext, stave : Stave, notes : Note[], params : boolean) : BoundingBox;
|
||||
static FormatAndDrawTab(ctx : IRenderContext, tabstave : TabStave, stave : Stave, tabnotes : TabNote[], notes : Note[], autobeam : boolean, params : {auto_beam : boolean, align_rests : boolean}) : void;
|
||||
static FormatAndDrawTab(ctx : IRenderContext, tabstave : TabStave, stave : Stave, tabnotes : TabNote[], notes : Note[], autobeam : boolean, params : boolean) : void;
|
||||
static FormatAndDraw(ctx : IRenderContext, stave : Stave, notes : Note[], params? : {auto_beam : boolean, align_rests : boolean}) : BoundingBox;
|
||||
static FormatAndDraw(ctx : IRenderContext, stave : Stave, notes : Note[], params? : boolean) : BoundingBox;
|
||||
static FormatAndDrawTab(ctx : IRenderContext, tabstave : TabStave, stave : Stave, tabnotes : TabNote[], notes : Note[], autobeam? : boolean, params? : {auto_beam : boolean, align_rests : boolean}) : void;
|
||||
static FormatAndDrawTab(ctx : IRenderContext, tabstave : TabStave, stave : Stave, tabnotes : TabNote[], notes : Note[], autobeam? : boolean, params? : boolean) : void;
|
||||
static AlignRestsToNotes(notes : Note[], align_all_notes? : boolean, align_tuplets? : boolean) : Formatter;
|
||||
alignRests(voices : Voice[], align_all_notes : boolean) : void;
|
||||
preCalculateMinTotalWidth(voices : Voice[]) : number;
|
||||
|
||||
Reference in new issue
Block a user