mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 15:23:44 +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;
|
stopDrag(): void;
|
||||||
threshold(): number;
|
threshold(): number;
|
||||||
threshold(threshold: number): Node;
|
threshold(threshold: number): Node;
|
||||||
|
to(params: any): void;
|
||||||
toDataURL(config: ToDataURLConfig): string;
|
toDataURL(config: ToDataURLConfig): string;
|
||||||
toImage(config: ToDataURLConfig): HTMLImageElement;
|
toImage(config: ToDataURLConfig): HTMLImageElement;
|
||||||
toJSON(): string;
|
toJSON(): string;
|
||||||
@ -709,6 +710,8 @@ declare module Konva {
|
|||||||
pointerLength(Length: Number): Number;
|
pointerLength(Length: Number): Number;
|
||||||
pointerWidth(): Number;
|
pointerWidth(): Number;
|
||||||
pointerWidth(Width: Number): Number;
|
pointerWidth(Width: Number): Number;
|
||||||
|
pointerAtBeginning(): boolean;
|
||||||
|
pointerAtBeginning(Should: boolean): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RectConfig extends ShapeConfig {
|
interface RectConfig extends ShapeConfig {
|
||||||
|
Loading…
Reference in New Issue
Block a user