mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
fixed definition of Vex.Flow.TextNote
- changed Justification enum to const - added GLYPHS const - fixed constructor arguments
This commit is contained in:
Vendored
+3
-2
@@ -1178,11 +1178,12 @@ declare module Vex {
|
||||
}
|
||||
|
||||
export module TextNote {
|
||||
enum Justification {LEFT, CENTER, RIGHT}
|
||||
const enum Justification {LEFT, CENTER, RIGHT}
|
||||
const GLYPHS : {[name : string] : {code : string, point : number, x_shift : number, y_shift : number}}
|
||||
}
|
||||
|
||||
class TextNote extends Note {
|
||||
constructor(text_struct : {duration : string, text : string, superscript : boolean, subscript : boolean, glyph : string, font? : {family : string, size : number, weight : string}, line? : number, smooth? : boolean, ignore_ticks? : boolean});
|
||||
constructor(text_struct : {duration : string, text? : string, superscript? : boolean, subscript? : boolean, glyph? : string, font? : {family : string, size : number, weight : string}, line? : number, smooth? : boolean, ignore_ticks? : boolean});
|
||||
setJustification(just : TextNote.Justification) : TextNote;
|
||||
setLine(line : number) : TextNote;
|
||||
preFormat() : void;
|
||||
|
||||
Reference in New Issue
Block a user