Back to Website
Show / Hide Table of Contents

Class ContentItem

Inheritance
ModelComponent
BaseItem
Item
ShapeItem
RectangleItem
ContentItem
Package: @aurigma/design-atoms-model

Constructors

(constructor)()

Constructs a new instance of the ContentItem class

Declaration
constructor();

Properties

maskOpacity

Declaration
get maskOpacity(): number;

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

parentPlaceholder

Declaration
get parentPlaceholder(): PlaceholderItem;

set parentPlaceholder(value: PlaceholderItem);
Property Value
Type Description
PlaceholderItem

type

Declaration
type: string;
Property Value
Type Description
string

type

Declaration
static type: string;
Property Value
Type Description
string

Methods

_canSetIsVariable()

Declaration
protected _canSetIsVariable(): boolean;
Returns
Type Description
boolean

_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
Type Description
void

_getParentContainer()

Declaration
protected _getParentContainer(): Container;
Returns
Type Description
Container

_getPrintAreaBounds()

Declaration
protected _getPrintAreaBounds(): RectangleF;
Returns
Type Description
RectangleF

applyPermissionsConstrain()

Declaration
applyPermissionsConstrain(): void;
Returns
Type Description
void

clone(generateNewIds, appropriateParentContainer)

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

equals(other)

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

getSimplifiedObject(omitProperties)

Declaration
getSimplifiedObject(omitProperties?: string[] | string): Object;
Parameters
Type Name Description
string[] | string omitProperties
Returns
Type Description
Object
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