Merge pull request #2680 from froginvasion/patch-2

Removed two missing properties from kineticjs
This commit is contained in:
Basarat Ali Syed
2014-08-20 22:12:57 +10:00
-21
View File
@@ -300,15 +300,6 @@ declare module Kinetic {
setData(SVG: string): any;
}
var Polygon: {
new (config: PolygonConfig): IPolygon;
}
interface IPolygon extends IShape {
getPoints(): any;
setPoints(points: any): any;
}
var RegularPolygon: {
new (config: RegularPolygonConfig): IRegularPolygon;
}
@@ -405,14 +396,6 @@ declare module Kinetic {
setTextStrokeWidth(textStrokeWidth: number): any;
}
var Transition: {
new (node: Node, config: any): ITransition;
}
interface ITransition {
start(): any;
stop(): any;
}
var Animation: {
new (...args: any[]): IAnimation;
}
@@ -485,10 +468,6 @@ declare module Kinetic {
dash?: number[];
}
interface PolygonConfig extends DrawOptionsConfig, ObjectOptionsConfig {
points: any;
}
interface RegularPolygonConfig extends DrawOptionsConfig, ObjectOptionsConfig {
sides: number;
radius: number;