@aurigma/design-atoms-interfaces
Version:
28 lines (27 loc) • 955 B
TypeScript
import { IBaseTextItemData } from "./IBaseTextItemData";
/**
* A structure defining the basic parameters of plain text.
* @remarks You can apply these parameters to the `text` object through either **clientConfig.json** or {@link https://customerscanvas.com/dev/editors/iframe-api/reference/design-editor-iframe/iconfiguration.html|IConfiguration}.
* @example
* ```json
* {
* "defaultItemsConfig": {
* "text": {
* "font": {
* "postScriptName": "Impact",
* "size": 33,
* "fauxBold": true,
* "fauxItalic": true
* },
* "color": "rgb(0,255,255)",
* "verticalAlignment": "center",
* "isVertical": true
* }
* }
* }
* ```
* @public
*/
export interface IPlainTextItemData<TTextAlignment, TStrokeSettings, TShadowSettings> extends IBaseTextItemData<TTextAlignment, TStrokeSettings, TShadowSettings> {
isVertical?: boolean;
}