Back to Website
Show / Hide Table of Contents

Class PlainTextItem

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

Constructors

(constructor)(text, location, postScriptFontName, fontSize)

Constructs a new instance of the PlainTextItem class

Declaration
constructor(text?: string, location?: PointF, postScriptFontName?: string, fontSize?: number);
Parameters
Type Name Description
string text
PointF location
string postScriptFontName
number fontSize

Properties

baselineLocation

Declaration
get baselineLocation(): PointF;

set baselineLocation(value: PointF);
Property Value
Type Description
PointF

isVertical

Declaration
get isVertical(): boolean;

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

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

applyPermissionsConstrain()

Declaration
applyPermissionsConstrain(): void;
Returns
Type Description
void

clone(generateNewIds, appropriateParentContainer)

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

equals(other)

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

getSimplifiedObject(omitProperties)

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

setBaselineLocation(value, suppressPropertyChanged)

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