Back to Website
Show / Hide Table of Contents

Class AutoScaledTextItem

Inheritance
BaseTextItem
AutoScaledTextItem
Package: @aurigma/design-atoms-model

Constructors

(constructor)(text, rectangle, fontPostScriptName, fontSize)

Constructs a new instance of the AutoScaledTextItem class

Declaration
constructor(text?: string, rectangle?: RectangleF, fontPostScriptName?: string, fontSize?: number);
Parameters
Type Name Description
string text
RectangleF rectangle
string fontPostScriptName
number fontSize

Properties

isVertical

Declaration
get isVertical(): boolean;

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

textRectangle

Declaration
get textRectangle(): RectangleF;

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

type

Declaration
type: string;
Property Value
Type Description
string

type

Declaration
static type: string;
Property Value
Type Description
string

Methods

_copy(source, destination, generateNewIds, appropriateParentContainer)

Declaration
protected _copy(source: AutoScaledTextItem, destination: BaseTextItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
Parameters
Type Name Description
AutoScaledTextItem source
BaseTextItem destination
boolean generateNewIds
boolean appropriateParentContainer
Returns
Type Description
void

clone(generateNewIds, appropriateParentContainer)

Declaration
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): AutoScaledTextItem;
Parameters
Type Name Description
boolean generateNewIds
boolean appropriateParentContainer
Returns
Type Description
AutoScaledTextItem

equals(other)

Declaration
equals(other: AutoScaledTextItem): boolean;
Parameters
Type Name Description
AutoScaledTextItem other
Returns
Type Description
boolean
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