ItemDataHandler
Classes
ItemDataHandler
Constructors
Constructor
new ItemDataHandler(
itemData,
colorPreviewServce,
colorParser): ItemDataHandler;
Parameters
| Parameter | Type |
|---|---|
itemData | ItemData |
colorPreviewServce | IColorPreviewService |
colorParser | IColorParser |
Returns
Methods
applyBarcode()
applyBarcode(barcode): boolean;
Parameters
| Parameter | Type |
|---|---|
barcode | BarcodeItem |
Returns
boolean
applyBaseText()
applyBaseText(text): Promise<boolean>;
Parameters
| Parameter | Type |
|---|---|
text | BaseTextItem |
Returns
Promise<boolean>
applyClipart()
applyClipart(clipart): boolean;
Parameters
| Parameter | Type |
|---|---|
clipart | ClipartItem |
Returns
boolean
applyDashedLine()
applyDashedLine(dashedLine): boolean;
Parameters
| Parameter | Type |
|---|---|
dashedLine | DashedLineItem |
Returns
boolean
applyImage()
applyImage(image): boolean;
Parameters
| Parameter | Type |
|---|---|
image | ImageItem |
Returns
boolean
applyLine()
applyLine(line): boolean;
Parameters
| Parameter | Type |
|---|---|
line | LineItem |
Returns
boolean
applyPlaceholder()
applyPlaceholder(placeholder): boolean;
Parameters
| Parameter | Type |
|---|---|
placeholder | PlaceholderItem |
Returns
boolean
applyShape()
applyShape(shape): boolean;
Parameters
| Parameter | Type |
|---|---|
shape | ShapeItem |
Returns
boolean