UNPKG

@aurigma/design-atoms-interfaces

Version:

27 lines (26 loc) 850 B
import { IBaseTextItemData } from "./IBaseTextItemData"; import { IBoundedTextItemData } from "./IBoundedTextItemData"; /** * A structure defining the basic parameters of rich-formatted text. * @example * ```json * { * "defaultItemsConfig": { * "richText": { * "verticalAlignment": "center", * "overflowStrategy": "fitToWidth", * "tracking": 12, * "maxLineCount": 2, * "maxLineLength": 20, * "paragraphSettings": { * "rightIndent": 24, * "leftIndent": 24 * } * } * } * } * ``` * @public */ export interface IRichTextData<TTextAlignment, TStrokeSettings, TShadowSettings> extends IBaseTextItemData<TTextAlignment, TStrokeSettings, TShadowSettings>, IBoundedTextItemData<TTextAlignment, TStrokeSettings, TShadowSettings> { }