mirror of
https://github.com/konvajs/konva.git
synced 2026-01-22 03:11:53 +08:00
4
konva.d.ts
vendored
4
konva.d.ts
vendored
@@ -667,14 +667,14 @@ declare namespace Konva {
|
|||||||
hitGraphEnabled?: boolean;
|
hitGraphEnabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
class FastLayer extends Container {
|
class FastLayer<T extends Node = Node> extends Container<T> {
|
||||||
constructor(config?: LayerConfig);
|
constructor(config?: LayerConfig);
|
||||||
drawScene(): void;
|
drawScene(): void;
|
||||||
hitGraphEnabled(val: boolean): this;
|
hitGraphEnabled(val: boolean): this;
|
||||||
batchDraw(): void;
|
batchDraw(): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
class Layer extends Container {
|
class Layer<T extends Node = Node> extends Container<T> {
|
||||||
constructor(config?: LayerConfig);
|
constructor(config?: LayerConfig);
|
||||||
getIntersection(pos: Vector2d, selector?: string): Shape;
|
getIntersection(pos: Vector2d, selector?: string): Shape;
|
||||||
enableHitGraph(): this;
|
enableHitGraph(): this;
|
||||||
|
|||||||
Reference in New Issue
Block a user