Class AutoScaledTextItem
Inheritance
BaseTextItem
AutoScaledTextItem
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
textRectangle
Declaration
get textRectangle(): RectangleF;
set textRectangle(value: RectangleF);
Property Value
type
Declaration
Property Value
type
Declaration
Property Value
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
clone(generateNewIds, appropriateParentContainer)
Declaration
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): AutoScaledTextItem;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
equals(other)
Declaration
equals(other: AutoScaledTextItem): boolean;
Parameters
Returns