1
0
mirror of https://github.com/konvajs/konva.git synced 2025-04-05 20:48:28 +08:00

Merge pull request from markov00/fix/add_vertical_align_type

Add missing verticalAlign types to TextConfig and Text shape
This commit is contained in:
Anton Lavrenov 2018-09-22 16:20:35 +03:00 committed by GitHub
commit 29c2228867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
konva.d.ts vendored
View File

@ -999,6 +999,7 @@ declare namespace Konva {
fontSize?: number;
fontStyle?: string;
align?: string;
verticalAlign?: string;
padding?: number;
lineHeight?: number;
wrap?: string;
@ -1021,6 +1022,8 @@ declare namespace Konva {
fontVariant(fontVariant: string): this;
align(): string;
align(align: string): this;
verticalAlign(): string;
verticalAlign(verticalAlign: string): this;
padding(): number;
padding(padding: number): this;
lineHeight(): number;