Skip to main content

ItemDataHandler

Classes

ItemDataHandler

Constructors

Constructor
new ItemDataHandler(
itemData,
colorPreviewServce,
colorParser): ItemDataHandler;
Parameters
ParameterType
itemDataItemData
colorPreviewServceIColorPreviewService
colorParserIColorParser
Returns

ItemDataHandler

Methods

applyBarcode()
applyBarcode(barcode): boolean;
Parameters
ParameterType
barcodeBarcodeItem
Returns

boolean

applyBaseText()
applyBaseText(text): Promise<boolean>;
Parameters
ParameterType
textBaseTextItem
Returns

Promise<boolean>

applyClipart()
applyClipart(clipart): boolean;
Parameters
ParameterType
clipartClipartItem
Returns

boolean

applyDashedLine()
applyDashedLine(dashedLine): boolean;
Parameters
ParameterType
dashedLineDashedLineItem
Returns

boolean

applyImage()
applyImage(image): boolean;
Parameters
ParameterType
imageImageItem
Returns

boolean

applyLine()
applyLine(line): boolean;
Parameters
ParameterType
lineLineItem
Returns

boolean

applyPlaceholder()
applyPlaceholder(placeholder): boolean;
Parameters
ParameterType
placeholderPlaceholderItem
Returns

boolean

applyShape()
applyShape(shape): boolean;
Parameters
ParameterType
shapeShapeItem
Returns

boolean

Was this page helpful?