mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 06:55:17 +08:00
Update konva.d.ts
fix .d.ts
This commit is contained in:
parent
919fb0bd99
commit
5d4ffe2a39
3
konva.d.ts
vendored
3
konva.d.ts
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user