UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

22 lines (21 loc) 728 B
declare const command: { name: string; /** * Set object properties * @param {Graphics} graphics - Graphics instance * @param {number} id - object id * @param {Object} posInfo - position object * @param {number} posInfo.x - x position * @param {number} posInfo.y - y position * @param {string} posInfo.originX - can be 'left', 'center', 'right' * @param {string} posInfo.originY - can be 'top', 'center', 'bottom' * @returns {Promise} */ execute(graphics: any, id: any, posInfo: any): Promise<void>; /** * @param {Graphics} graphics - Graphics instance * @returns {Promise} */ undo(graphics: any): Promise<void>; }; export default command;