mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fixed definition of Vex.Flow.TextBracket
- changed Positions enum to const - fixed setFont() - fixed constructor argument
This commit is contained in:
Vendored
+3
-3
@@ -1155,15 +1155,15 @@ declare module Vex {
|
||||
}
|
||||
|
||||
export module TextBracket {
|
||||
enum Position {TOP, BOTTOM}
|
||||
const enum Positions {TOP, BOTTOM}
|
||||
}
|
||||
|
||||
class TextBracket {
|
||||
constructor(bracket_data : {start : Note, stop : Note, text? : string, superscript? : string, position : TextBracket.Position});
|
||||
constructor(bracket_data : {start : Note, stop : Note, text? : string, superscript? : string, position? : TextBracket.Positions});
|
||||
static DEBUG : boolean;
|
||||
applyStyle(context : IRenderContext) : TextBracket;
|
||||
setDashed(dashed : boolean, dash? : number[]) : TextBracket;
|
||||
setFont(family : string, size : number, weight? : number) : TextBracket;
|
||||
setFont({family : string, size : number, weight : string}) : TextBracket;
|
||||
setContext(context : IRenderContext) : TextBracket;
|
||||
setLine(line : number) : TextBracket;
|
||||
draw() : void;
|
||||
|
||||
Reference in New Issue
Block a user