Merge branch 'master' of github.com:konvajs/konva

This commit is contained in:
Anton Lavrenov 2017-02-24 09:16:56 -05:00
commit eab137b9c6

6
konva.d.ts vendored
View File

@ -268,7 +268,7 @@ declare module Konva {
interface ContainerConfig extends NodeConfig {
clearBeforeDraw?: boolean;
clipFunc?: Function;
clipFunc?: (ctx: CanvasRenderingContext2D) => void;
}
class Container extends Node {
@ -285,8 +285,8 @@ declare module Konva {
clipX(clipX: number) : Container;
clipY(): number;
clipY(clipY: number) : Container;
clipFunct(): number;
clipFunct(clipFunc: Function) : Container;
clipFunc(): (ctx: CanvasRenderingContext2D) => void;
clipFunc(ctx: CanvasRenderingContext2D) : void;
destroyChildren() : void;
find(selector? : string): Collection;
getAllIntersections(pos: Vector2d): Node[];