Class BoundedTextItemHandler
Inheritance
BoundedTextItemHandler
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
Properties
drawingRectangle
Declaration
get drawingRectangle(): RotatedRectangleF;
Property Value
item
Declaration
get item(): BoundedTextItem;
set item(item: BoundedTextItem);
Property Value
lastRectangle
Declaration
get lastRectangle(): RotatedRectangleF;
set lastRectangle(v: RotatedRectangleF);
Property Value
textAutoFitted
Declaration
get textAutoFitted(): boolean;
Property Value
typeName
Declaration
static readonly typeName: string;
Property Value
Methods
_onItemPropertyChanged(sender, propertyName)
Declaration
protected _onItemPropertyChanged(sender: BoundedTextItem, propertyName: string): void;
Parameters
Returns
_setDataItem(item, itemHandlerData)
Declaration
protected _setDataItem(item: BoundedTextItem, itemHandlerData: any): void;
Parameters
Returns
_setDefaultTextControlPoints()
Declaration
protected _setDefaultTextControlPoints(): void;
Returns
_updateEmptyTextControlPoints()
Declaration
protected _updateEmptyTextControlPoints(): void;
Returns
getTextRectangle()
Declaration
getTextRectangle(): RotatedRectangleF;
Returns
getTextWrappingPath()
Declaration
getTextWrappingPath(): Path;
Returns