mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Merge branch 'master' of github.com:konvajs/konva
This commit is contained in:
commit
9a46ca6176
5
konva.d.ts
vendored
5
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 {
|
||||
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user