@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
26 lines (25 loc) • 1.07 kB
TypeScript
declare const command: {
name: string;
/**
* Change text styles
* @param {Graphics} graphics - Graphics instance
* @param {number} id - object id
* @param {Object} styles - text styles
* @param {string} [styles.fill] Color
* @param {string} [styles.fontFamily] Font type for text
* @param {number} [styles.fontSize] Size
* @param {string} [styles.fontStyle] Type of inclination (normal / italic)
* @param {string} [styles.fontWeight] Type of thicker or thinner looking (normal / bold)
* @param {string} [styles.textAlign] Type of text align (left / center / right)
* @param {string} [styles.textDecoration] Type of line (underline / line-through / overline)
* @param {boolean} isSilent - is silent execution or not
* @returns {Promise}
*/
execute(graphics: any, id: any, styles: any, isSilent: any): any;
/**
* @param {Graphics} graphics - Graphics instance
* @returns {Promise}
*/
undo(graphics: any): any;
};
export default command;