import { QFont, QIcon } from '@nodegui/nodegui'; export interface CreateFontIconOptions { /** * Degrees to rotate the icon by. */ rotation?: number; /** * Number to scale the size of the icon by. */ scale?: number; /** * Color to use when drawing the icon in Mode.Normal and State.On. * * 32bit RGBA format. */ normalOnRgba?: number; /** * Color to use when drawing the icon in Mode.Disabled and State.On. * * 32bit RGBA format. */ disabledOnRgba?: number; /** * Color to use when drawing the icon in Mode.Active and State.On. * * 32bit RGBA format. */ activeOnRgba?: number; /** * Color to use when drawing the icon in Mode.Selected and State.On. * * 32bit RGBA format. */ selectedOnRgba?: number; /** * Color to use when drawing the icon in Mode.Normal and State.Off. * * 32bit RGBA format. */ normalOffRgba?: number; /** * Color to use when drawing the icon in Mode.Disabled and State.Off. * * 32bit RGBA format. */ disabledOffRgba?: number; /** * Color to use when drawing the icon in Mode.Active and State.Off. * * 32bit RGBA format. */ activeOffRgba?: number; /** * Color to use when drawing the icon in Mode.Selected and State.Off. * * 32bit RGBA format. */ selectedOffRgba?: number; } /** * Create a QIcon to render a glyph from a font * * Glyphs are rendered centered inside the icon. By default the button * colors taken from the application's palette are used to rendering * the glyph. This can be overridden via the `options` argument. * * @param font QFont object to select the font to use when drawing the icon * @param text The text to render. This should generally render as one glyph. * @param options Optional object containing additional options. * */ export declare function createFontIcon(font: QFont, text: string, options?: CreateFontIconOptions): QIcon;