Class NewArchedTextItemHandler
Inheritance
NewArchedTextItemHandler
Constructors
(constructor)(fontRegistry, textEditorControllerFactory, item, textWhizz, apiClient, colorPreviewService, colorParser)
Constructs a new instance of the NewArchedTextItemHandler class
Declaration
constructor(fontRegistry: FontRegistry, textEditorControllerFactory: ITextEditorControllerFactory, item: ArchedTextItem, textWhizz?: typeof TextWhizz, apiClient?: IDesignAtomsApiClient, colorPreviewService?: IListenableColorPreviewService, colorParser?: IColorParser);
Parameters
Properties
item
Declaration
get item(): ArchedTextItem;
set item(item: ArchedTextItem);
Property Value
typeName
Declaration
static readonly typeName: string;
Property Value
Methods
_applyTransform(item, transform, center)
Declaration
protected _applyTransform(item: BaseTextItem, transform: Transform, center: PointF): Promise<void>;
Parameters
Returns
| Type |
Description |
| Promise<void> |
|
_getDefaultPermissions()
Declaration
protected _getDefaultPermissions(): IPermissions;
Returns
_onItemPropertyChanged(sender, propertyName)
Declaration
protected _onItemPropertyChanged(sender: ArchedTextItem, propertyName: string): void;
Parameters
Returns
_setDataItem(item, itemHandlerData)
Declaration
protected _setDataItem(item: ArchedTextItem, itemHandlerData: any): void;
Parameters
Returns
_updateRectangleAfterTextScale(item)
Declaration
protected _updateRectangleAfterTextScale(item: ArchedTextItem): Promise<void>;
Parameters
Returns
| Type |
Description |
| Promise<void> |
|
getFramesData()
Declaration
getFramesData(): ITextFrameData;
Returns
| Type |
Description |
| IFontRegistry |
|
getWrappingPathData()
Declaration
getWrappingPathData(): IWrappingPathData;
Returns
| Type |
Description |
| IFontRegistry |
|
isHighlightNeeded()
Declaration
isHighlightNeeded(): boolean;
Returns
setTextWhizzWrappingPath(handler)
Declaration
setTextWhizzWrappingPath(handler: TextWhizz.TextHandler): void;
Parameters
| Type |
Name |
Description |
| TextWhizz.TextHandler |
handler |
|
Returns