##// END OF EJS Templates
Maintenance release...
Maintenance release * `NodeList-fx` added overloads to all methods to distinguish returned values of different types (`Animation | this`). * Added missing signatures to `NodeList` constructor * Improved `dijit.form._FormWidgetMixin` * Added module declarations `dijit/form/_FormWidgetMixin`, `dijit/form/_FormValueMixin`, `dijit/_HasDropDown`

File last commit:

r0:ab570232df7d default
r8:b71d8639b457 v1.0.1 default
Show More
utils.d.ts
42 lines | 1.2 KiB | video/mp2t | TypeScriptLexer
declare namespace dojox {
namespace gfx {
namespace utils {
interface ShapeDescriptor {
children: dojox.gfx.shape.Shape[];
fill: dojox.gfx.Fill;
font: dojox.gfx.Font;
shape: dojox.gfx.shape.Shape;
stroke: dojox.gfx.Stroke;
transform: dojox.gfx.matrix.Matrix2D;
}
interface Utils {
forEach(
shape: dojox.gfx.shape.Shape | dojox.gfx.shape.Surface,
callback: Function, context?: Object
): void;
deserialize(
parent: dojox.gfx.shape.Shape | dojox.gfx.shape.Surface,
shape: ShapeDescriptor
): dojox.gfx.shape.Shape;
deserialize(
parent: dojox.gfx.shape.Shape | dojox.gfx.shape.Surface,
shape: ShapeDescriptor[]
): dojox.gfx.shape.Shape[];
fromJson(
parent: dojox.gfx.shape.Shape | dojox.gfx.shape.Surface,
shape: string
): dojox.gfx.shape.Shape | dojox.gfx.shape.Shape[];
serialize(shape: dojox.gfx.shape.Shape): ShapeDescriptor;
serialize(shape: dojox.gfx.shape.Surface): ShapeDescriptor[];
toJson(shape: dojox.gfx.shape.Shape | dojox.gfx.shape.Surface): string;
toSvg(surface: dojox.gfx.shape.Surface): dojo.Deferred<string>;
}
}
}
}
declare module 'dojox/gfx/utils' {
const utils: dojox.gfx.utils.Utils;
export = utils;
}