Back to Website
Show / Hide Table of Contents

Class ItemDataHandler

Package: @aurigma/design-atoms

Constructors

(constructor)(_itemData, _colorPreviewServce, _colorParser)

Constructs a new instance of the ItemDataHandler class

Declaration
constructor(_itemData: ItemData, _colorPreviewServce: IColorPreviewService, _colorParser: IColorParser);
Parameters
Type Name Description
ItemData _itemData
IColorPreviewService _colorPreviewServce
IColorParser _colorParser

Methods

applyBarcode(barcode)

Declaration
applyBarcode(barcode: BarcodeItem): boolean;
Parameters
Type Name Description
BarcodeItem barcode
Returns
Type Description
boolean

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
Type Name Description
ClipartItem clipart
Returns
Type Description
boolean

applyDashedLine(dashedLine)

Declaration
applyDashedLine(dashedLine: DashedLineItem): boolean;
Parameters
Type Name Description
DashedLineItem dashedLine
Returns
Type Description
boolean

applyImage(image)

Declaration
applyImage(image: ImageItem): boolean;
Parameters
Type Name Description
ImageItem image
Returns
Type Description
boolean

applyLine(line)

Declaration
applyLine(line: LineItem): boolean;
Parameters
Type Name Description
LineItem line
Returns
Type Description
boolean

applyPlaceholder(placeholder)

Declaration
applyPlaceholder(placeholder: PlaceholderItem): boolean;
Parameters
Type Name Description
PlaceholderItem placeholder
Returns
Type Description
boolean

applyShape(shape)

Declaration
applyShape(shape: ShapeItem): boolean;
Parameters
Type Name Description
ShapeItem shape
Returns
Type Description
boolean
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback