mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 14:20:23 +08:00
Added some missing type script definitions
This commit is contained in:
parent
5b747b9265
commit
a299e87682
5
konva.d.ts
vendored
5
konva.d.ts
vendored
@ -401,6 +401,7 @@ declare namespace Konva {
|
||||
shadowOffsetY?: number;
|
||||
shadowOpacity?: number;
|
||||
shadowEnabled?: boolean;
|
||||
shadowForStrokeEnabled?: boolean;
|
||||
dash?: number[];
|
||||
dashEnabled?: boolean;
|
||||
perfectDrawEnabled?: boolean;
|
||||
@ -483,12 +484,16 @@ declare namespace Konva {
|
||||
lineCap(lineCap: string): this;
|
||||
lineJoin(): string;
|
||||
lineJoin(lineJoin: string): this;
|
||||
perfectDrawEnabled(): boolean;
|
||||
perfectDrawEnabled(perfectDrawEnabled: boolean): this;
|
||||
sceneFunc(): Function;
|
||||
sceneFunc(func: (con: Context) => {}): this;
|
||||
shadowColor(): string;
|
||||
shadowColor(shadowColor: string): this;
|
||||
shadowEnabled(): boolean;
|
||||
shadowEnabled(shadowEnabled: boolean): this;
|
||||
shadowForStrokeEnabled(): boolean;
|
||||
shadowForStrokeEnabled(shadowForStrokeEnabled: boolean): this;
|
||||
shadowOffset(): Vector2d;
|
||||
shadowOffset(shadowOffset: Vector2d): this;
|
||||
shadowOffsetX(): number;
|
||||
|
Loading…
Reference in New Issue
Block a user