Class ContentItem
Constructors
(constructor)()
Constructs a new instance of the ContentItem class
Declaration
Properties
maskOpacity
Declaration
get maskOpacity(): number;
set maskOpacity(value: number);
Property Value
parentPlaceholder
Declaration
get parentPlaceholder(): PlaceholderItem;
set parentPlaceholder(value: PlaceholderItem);
Property Value
type
Declaration
Property Value
type
Declaration
Property Value
Methods
_canSetIsVariable()
Declaration
protected _canSetIsVariable(): boolean;
Returns
_copy(source, destination, generateNewIds, appropriateParentContainer)
Declaration
protected _copy(source: ContentItem, destination: ContentItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
Parameters
| Type |
Name |
Description |
| ContentItem |
source |
|
| ContentItem |
destination |
|
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
_getParentContainer()
Declaration
protected _getParentContainer(): Container;
Returns
_getPrintAreaBounds()
Declaration
protected _getPrintAreaBounds(): RectangleF;
Returns
applyPermissionsConstrain()
Declaration
applyPermissionsConstrain(): void;
Returns
clone(generateNewIds, appropriateParentContainer)
Declaration
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): ContentItem;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
equals(other)
Declaration
equals(other: ContentItem): boolean;
Parameters
Returns
getSimplifiedObject(omitProperties)
Declaration
getSimplifiedObject(omitProperties?: string[] | string): Object;
Parameters
| Type |
Name |
Description |
| string[] | string |
omitProperties |
|
Returns