Class PathBoundedTextItem
Inheritance
BaseTextItem
PathBoundedTextItem
Constructors
(constructor)(text, paths, postScriptFontName, fontSize)
Constructs a new instance of the PathBoundedTextItem class
Declaration
constructor(text?: string, paths?: Path[], postScriptFontName?: string, fontSize?: number);
Parameters
| Type |
Name |
Description |
| string |
text |
|
| Path[] |
paths |
|
| string |
postScriptFontName |
|
| number |
fontSize |
|
Properties
boundingPaths
Declaration
get boundingPaths(): Path[];
set boundingPaths(value: Path[]);
Property Value
firstBaselineMinOffset
Declaration
get firstBaselineMinOffset(): number;
set firstBaselineMinOffset(value: number);
Property Value
firstBaselineOffset
Declaration
get firstBaselineOffset(): FirstBaselineOffset;
set firstBaselineOffset(value: FirstBaselineOffset);
Property Value
isVertical
Declaration
get isVertical(): boolean;
set isVertical(value: boolean);
Property Value
paragraphSettings
Declaration
get paragraphSettings(): ParagraphSettings;
set paragraphSettings(value: ParagraphSettings);
Property Value
pathBoundedTextPermissions
Declaration
get pathBoundedTextPermissions(): PathBoundedTextPermissions;
set pathBoundedTextPermissions(value: PathBoundedTextPermissions);
Property Value
type
Declaration
Property Value
type
Declaration
Property Value
wrappingMargin
Declaration
get wrappingMargin(): number;
set wrappingMargin(value: number);
Property Value
wrappingPath
Declaration
get wrappingPath(): Path;
set wrappingPath(value: Path);
Property Value
Methods
_copy(source, destination, generateNewIds, appropriateParentContainer)
Declaration
protected _copy(source: PathBoundedTextItem, destination: BaseTextItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
Parameters
| Type |
Name |
Description |
| PathBoundedTextItem |
source |
|
| BaseTextItem |
destination |
|
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
clone(generateNewIds, appropriateParentContainer)
Declaration
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): PathBoundedTextItem;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
equals(other)
Declaration
equals(other: PathBoundedTextItem): boolean;
Parameters
Returns
getSimplifiedObject(omitProperties)
Declaration
getSimplifiedObject(omitProperties?: string[] | string): Object;
Parameters
| Type |
Name |
Description |
| string[] | string |
omitProperties |
|
Returns