@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
17 lines (16 loc) • 486 B
TypeScript
declare const command: {
name: string;
/**
* resize the canvas with given dimension
* @param {Graphics} graphics - Graphics instance
* @param {{width: number, height: number}} dimension - Max width & height
* @returns {Promise}
*/
execute(graphics: any, dimension: any): Promise<void>;
/**
* @param {Graphics} graphics - Graphics instance
* @returns {Promise}
*/
undo(graphics: any): Promise<void>;
};
export default command;