@aurigma/design-atoms-interfaces
Version:
31 lines (30 loc) • 1.07 kB
TypeScript
import { IArchedTextItemData } from "./IArchedTextItemData";
import { IBaseTextItemData } from "./IBaseTextItemData";
import { IBoundedTextItemData } from "./IBoundedTextItemData";
/**
* A structure defining the parameters of text elements.
* @example
* ```json
* {
* "defaultItemsConfig": {
* "text": {
* "font": {
* "postScriptName": "Impact",
* "size": 33,
* "fauxBold": true,
* "fauxItalic": true
* },
* "color": "rgb(30,30,30)",
* "textPermissions": {
* "allowChangeFontColor": false,
* "allowChangeShadow": false,
* "allowChangeStroke": false
* }
* }
* }
* }
* ```
* @public
*/
export interface ITextItemData<TTextAlignment, TStrokeSettings, TShadowSettings> extends IBaseTextItemData<TTextAlignment, TStrokeSettings, TShadowSettings>, IBoundedTextItemData<TTextAlignment, TStrokeSettings, TShadowSettings>, IArchedTextItemData<TTextAlignment, TStrokeSettings, TShadowSettings> {
}