Back to Website
Show / Hide Table of Contents

Class CurvedTextItem

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

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
Type Description
number

fitToPath

Declaration
get fitToPath(): boolean;

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

fitToPathStep

Declaration
get fitToPathStep(): number;

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

maxLineCount

getter in BaseTextItem

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
Type Description
number

start

Declaration
get start(): number;

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

stretch

Declaration
get stretch(): boolean;

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

textPath

Declaration
get textPath(): Path;

set textPath(value: Path);
Property Value
Type Description
Path

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: CurvedTextItem, destination: BaseTextItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
Parameters
Type Name Description
CurvedTextItem source
BaseTextItem destination
boolean generateNewIds
boolean appropriateParentContainer
Returns
Type Description
void

applyPermissionsConstrain()

Declaration
applyPermissionsConstrain(): void;
Returns
Type Description
void

clone(generateNewIds, appropriateParentContainer)

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

equals(other)

Declaration
equals(other: CurvedTextItem): boolean;
Parameters
Type Name Description
CurvedTextItem other
Returns
Type Description
boolean

getSimplifiedObject(omitProperties)

Declaration
getSimplifiedObject(omitProperties?: string[] | string): Object;
Parameters
Type Name Description
string[] | string omitProperties
Returns
Type Description
Object

setTextPath(value, suppressPropertyChanged)

Declaration
setTextPath(value: Path, suppressPropertyChanged?: boolean): void;
Parameters
Type Name Description
Path value
boolean suppressPropertyChanged
Returns
Type Description
void
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