Class ItemDataHandler
Constructors
(constructor)(_itemData, _colorPreviewServce, _colorParser)
Constructs a new instance of the ItemDataHandler class
Declaration
constructor(_itemData: ItemData, _colorPreviewServce: IColorPreviewService, _colorParser: IColorParser);
Parameters
Methods
applyBarcode(barcode)
Declaration
applyBarcode(barcode: BarcodeItem): boolean;
Parameters
Returns
applyBaseText(text)
Declaration
applyBaseText(text: BaseTextItem): Promise<boolean>;
Parameters
| Type |
Name |
Description |
| BaseTextItem |
text |
|
Returns
| Type |
Description |
| Promise<boolean> |
|
applyClipart(clipart)
Declaration
applyClipart(clipart: ClipartItem): boolean;
Parameters
Returns
applyDashedLine(dashedLine)
Declaration
applyDashedLine(dashedLine: DashedLineItem): boolean;
Parameters
Returns
applyImage(image)
Declaration
applyImage(image: ImageItem): boolean;
Parameters
| Type |
Name |
Description |
| ImageItem |
image |
|
Returns
applyLine(line)
Declaration
applyLine(line: LineItem): boolean;
Parameters
Returns
applyPlaceholder(placeholder)
Declaration
applyPlaceholder(placeholder: PlaceholderItem): boolean;
Parameters
Returns
applyShape(shape)
Declaration
applyShape(shape: ShapeItem): boolean;
Parameters
Returns