Back to Website
Show / Hide Table of Contents

Class BoundedTextItemHandler

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

Constructors

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

Constructs a new instance of the BoundedTextItemHandler class

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

Properties

drawingRectangle

Declaration
get drawingRectangle(): RotatedRectangleF;
Property Value
Type Description
RotatedRectangleF

item

Declaration
get item(): BoundedTextItem;

set item(item: BoundedTextItem);
Property Value
Type Description
BoundedTextItem

lastRectangle

Declaration
get lastRectangle(): RotatedRectangleF;

set lastRectangle(v: RotatedRectangleF);
Property Value
Type Description
RotatedRectangleF

textAutoFitted

Declaration
get textAutoFitted(): boolean;
Property Value
Type Description
boolean

typeName

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

Methods

_onItemPropertyChanged(sender, propertyName)

Declaration
protected _onItemPropertyChanged(sender: BoundedTextItem, propertyName: string): void;
Parameters
Type Name Description
BoundedTextItem sender
string propertyName
Returns
Type Description
void

_setDataItem(item, itemHandlerData)

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

_setDefaultTextControlPoints()

Declaration
protected _setDefaultTextControlPoints(): void;
Returns
Type Description
void

_updateEmptyTextControlPoints()

Declaration
protected _updateEmptyTextControlPoints(): void;
Returns
Type Description
void

getTextRectangle()

Declaration
getTextRectangle(): RotatedRectangleF;
Returns
Type Description
RotatedRectangleF

getTextWrappingPath()

Declaration
getTextWrappingPath(): Path;
Returns
Type Description
Path
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