@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
42 lines (41 loc) • 1.2 kB
TypeScript
import { IColor } from "../../Colors";
import { IItemData, IFontSettings, IShadowSettings, IStrokeSettings } from "../Interfaces";
export declare class FontSettings implements IFontSettings {
postScriptName?: string;
size?: number;
fauxBold?: boolean;
fauxItalic?: boolean;
allCaps?: boolean;
}
export declare class ShadowSettings implements IShadowSettings {
color?: string | IColor;
size?: number;
angle?: number;
distance?: number;
}
export declare class StrokeSettings implements IStrokeSettings {
color?: string | IColor;
size?: number;
lineJoin?: string;
}
export declare class ItemData implements IItemData {
leading?: number;
tracking?: number;
underline?: boolean;
color?: string;
borderColor?: string;
borderWidth?: number;
fillColor?: string;
textFillColor?: string;
altColor?: string;
opacity?: number;
barcodeColor?: string;
horizontalLineColor?: string;
verticalLineColor?: string;
font?: FontSettings;
shadow?: ShadowSettings;
stroke?: StrokeSettings;
content?: ItemData;
clipartColors?: string[];
visible?: boolean;
}