Class CurvedTextItem
Inheritance
BaseTextItem
CurvedTextItem
Constructors
(constructor)(text, path, postScriptFontName, fontSize)
Constructs a new instance of the CurvedTextItem class
Declaration
constructor(text?: string, path?: Path, postScriptFontName?: string, fontSize?: number);
Parameters
| Type |
Name |
Description |
| string |
text |
|
| Path |
path |
|
| string |
postScriptFontName |
|
| number |
fontSize |
|
Properties
end
Declaration
get end(): number;
set end(value: number);
Property Value
fitToPath
Declaration
get fitToPath(): boolean;
set fitToPath(value: boolean);
Property Value
fitToPathStep
Declaration
get fitToPathStep(): number;
set fitToPathStep(value: number);
Property Value
maxLineCount
Declaration
/** @override */
get maxLineCount(): number;
set maxLineCount(value: number);
Property Value
| Type |
Description |
| number |
getter in BaseTextItem
|
originalFontSize
Declaration
get originalFontSize(): number;
set originalFontSize(value: number);
Property Value
start
Declaration
get start(): number;
set start(value: number);
Property Value
stretch
Declaration
get stretch(): boolean;
set stretch(value: boolean);
Property Value
textPath
Declaration
get textPath(): Path;
set textPath(value: Path);
Property Value
type
Declaration
Property Value
type
Declaration
Property Value
Methods
_copy(source, destination, generateNewIds, appropriateParentContainer)
Declaration
protected _copy(source: CurvedTextItem, destination: BaseTextItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
Parameters
| Type |
Name |
Description |
| CurvedTextItem |
source |
|
| BaseTextItem |
destination |
|
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
applyPermissionsConstrain()
Declaration
applyPermissionsConstrain(): void;
Returns
clone(generateNewIds, appropriateParentContainer)
Declaration
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): CurvedTextItem;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
equals(other)
Declaration
equals(other: CurvedTextItem): boolean;
Parameters
Returns
getSimplifiedObject(omitProperties)
Declaration
getSimplifiedObject(omitProperties?: string[] | string): Object;
Parameters
| Type |
Name |
Description |
| string[] | string |
omitProperties |
|
Returns
setTextPath(value, suppressPropertyChanged)
Declaration
setTextPath(value: Path, suppressPropertyChanged?: boolean): void;
Parameters
| Type |
Name |
Description |
| Path |
value |
|
| boolean |
suppressPropertyChanged |
|
Returns