Back to Website
Show / Hide Table of Contents

Class PathBoundedTextItemHandler

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

Constructors

(constructor)(item, textWhizz, apiClient, colorPreviewServce)

Constructs a new instance of the PathBoundedTextItemHandler class

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

Properties

boundingPaths

Declaration
get boundingPaths(): Path[];
Property Value
Type Description
Path[]

drawingRectangle

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

isVertical

Declaration
get isVertical(): boolean;

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

item

Declaration
get item(): PathBoundedTextItem;

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

lastRectangle

Declaration
get lastRectangle(): RotatedRectangleF;

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

originalBoundingPaths

Declaration
get originalBoundingPaths(): Path[];

set originalBoundingPaths(value: Path[]);
Property Value
Type Description
Path[]

paragraphSettings

Declaration
get paragraphSettings(): ParagraphSettings;

set paragraphSettings(value: ParagraphSettings);
Property Value
Type Description
ParagraphSettings

typeName

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

wrappingMargin

Declaration
get wrappingMargin(): number;

set wrappingMargin(value: number);
Property Value
Type Description
number

Methods

_onItemPropertyChanged(sender, propertyName)

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

_setDataItem(itemData, itemHandlerData)

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

_setDefaultTextControlPoints()

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

getBoundingPathsBounds()

Declaration
getBoundingPathsBounds(): Promise<RectangleF>;
Returns
Type Description
Promise<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