mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 13:27:33 +08:00
Add some missing definisions
This commit is contained in:
parent
8f658a67ce
commit
d2b2dd2f66
6
konva.d.ts
vendored
6
konva.d.ts
vendored
@ -202,8 +202,8 @@ declare namespace Konva {
|
|||||||
): Node[];
|
): Node[];
|
||||||
fire(eventType: string, evt?: any, bubble?: boolean): this;
|
fire(eventType: string, evt?: any, bubble?: boolean): this;
|
||||||
getAbsoluteOpacity(): number;
|
getAbsoluteOpacity(): number;
|
||||||
getAbsolutePosition(): Vector2d;
|
getAbsolutePosition(top?: Container): Vector2d;
|
||||||
getAbsoluteTransform(): Transform;
|
getAbsoluteTransform(top?: Container): Transform;
|
||||||
getAbsoluteZIndex(): number;
|
getAbsoluteZIndex(): number;
|
||||||
getAncestors(): Collection;
|
getAncestors(): Collection;
|
||||||
getAttr(attr: string): any;
|
getAttr(attr: string): any;
|
||||||
@ -423,6 +423,7 @@ declare namespace Konva {
|
|||||||
dash(dash: number[]): this;
|
dash(dash: number[]): this;
|
||||||
dashEnabled(): boolean;
|
dashEnabled(): boolean;
|
||||||
dashEnabled(dashEnabled: boolean): this;
|
dashEnabled(dashEnabled: boolean): this;
|
||||||
|
drawHit(canvas?: Canvas, top?: Container, caching?: boolean): this;
|
||||||
drawHitFromCache(alphaThreshold: number): this;
|
drawHitFromCache(alphaThreshold: number): this;
|
||||||
fill(): string;
|
fill(): string;
|
||||||
fill(fill: string): this;
|
fill(fill: string): this;
|
||||||
@ -484,6 +485,7 @@ declare namespace Konva {
|
|||||||
fillPatternY(y: number): this;
|
fillPatternY(y: number): this;
|
||||||
fillPriority(): string;
|
fillPriority(): string;
|
||||||
fillPriority(priority: string): this;
|
fillPriority(priority: string): this;
|
||||||
|
getSelfRect(): SizeConfig;
|
||||||
hasFill(): boolean;
|
hasFill(): boolean;
|
||||||
hasShadow(): boolean;
|
hasShadow(): boolean;
|
||||||
hasStroke(): boolean;
|
hasStroke(): boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user