Merge branch 'master' of github.com:konvajs/konva

This commit is contained in:
Anton Lavrenov 2018-02-18 11:45:58 +08:00
commit 9a46ca6176

5
konva.d.ts vendored
View File

@ -257,6 +257,7 @@ declare module Konva {
stopDrag(): void;
threshold(): number;
threshold(threshold: number): Node;
to(params: any): void;
toDataURL(config: ToDataURLConfig): string;
toImage(config: ToDataURLConfig): HTMLImageElement;
toJSON(): string;
@ -709,6 +710,8 @@ declare module Konva {
pointerLength(Length: Number): Number;
pointerWidth(): Number;
pointerWidth(Width: Number): Number;
pointerAtBeginning(): boolean;
pointerAtBeginning(Should: boolean): void;
}
interface RectConfig extends ShapeConfig {
@ -777,6 +780,8 @@ declare module Konva {
lineHeight(lineHeight: number): Text;
wrap(): string;
wrap(wrap: string): Text;
textDecoration(): string;
textDecoration(textDecoration: string): Text;
}
interface WedgeConfig extends ShapeConfig {