Back to Website
Show / Hide Table of Contents

Class RectangleItemHandler

Inheritance
ItemHandler
BaseRectangleItemHandler
ShapeItemHandler
RectangleItemHandler
Package: @aurigma/design-atoms

Constructors

(constructor)(item, textWhizz, apiClient, colorPreviewService)

Constructs a new instance of the RectangleItemHandler class

Declaration
constructor(item?: RectangleItem, textWhizz?: typeof TextWhizz, apiClient?: IDesignAtomsApiClient, colorPreviewService?: IListenableColorPreviewService);
Parameters
Type Name Description
RectangleItem item
typeof TextWhizz textWhizz
IDesignAtomsApiClient apiClient
IListenableColorPreviewService colorPreviewService

Properties

_isReadyToDraw

Declaration
protected get _isReadyToDraw(): boolean;
Property Value
Type Description
boolean

typeName

Declaration
static readonly typeName: string;
Property Value
Type Description
string

Methods

_setDataItem(item, itemHandlerData)

Declaration
protected _setDataItem(item: RectangleItem, itemHandlerData: any): void;
Parameters
Type Name Description
RectangleItem item
any itemHandlerData
Returns
Type Description
void

setRectangle(rectangle, supressOnChanged)

Declaration
setRectangle(rectangle: RotatedRectangleF, supressOnChanged?: boolean): void;
Parameters
Type Name Description
RotatedRectangleF rectangle
boolean supressOnChanged
Returns
Type Description
void
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