Back to Website
Show / Hide Table of Contents

Class AutoScaledTextItemHandler

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

Constructors

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

Constructs a new instance of the AutoScaledTextItemHandler class

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

Properties

horizontalScale

Declaration
get horizontalScale(): number;
Property Value
Type Description
number

isVertical

Declaration
get isVertical(): boolean;

set isVertical(value: boolean);
Property Value
Type Description
boolean

item

Declaration
get item(): AutoScaledTextItem;

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

originalTextRectangle

Declaration
get originalTextRectangle(): RectangleF;

set originalTextRectangle(value: RectangleF);
Property Value
Type Description
RectangleF

typeName

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

verticalScale

Declaration
get verticalScale(): number;
Property Value
Type Description
number

Methods

_onItemPropertyChanged(sender, propertyName)

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

_setDataItem(item, itemHandlerData)

Declaration
protected _setDataItem(item: AutoScaledTextItem, itemHandlerData: any): void;
Parameters
Type Name Description
AutoScaledTextItem 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(): RectangleF;
Returns
Type Description
RectangleF
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