Back to Website
Show / Hide Table of Contents

Class ClipartItem

Inheritance
ModelComponent
BaseItem
Item
GroupItem
ClipartItem
Package: @aurigma/design-atoms-model

Constructors

(constructor)(items, colorGroups)

Constructs a new instance of the ClipartItem class

Declaration
constructor(items?: Item[], colorGroups?: ColorGroup[]);
Parameters
Type Name Description
Item[] items
ColorGroup[] colorGroups

Properties

colorGroups

Declaration
get colorGroups(): ColorGroup[];

set colorGroups(value: ColorGroup[]);
Property Value
Type Description
ColorGroup[]

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

getSimplifiedObject(omitProperties)

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

setColor(colorGroup, targetColor)

Declaration
setColor(colorGroup: ColorGroup, targetColor: Color | IColorWithTitle): void;
Parameters
Type Name Description
ColorGroup colorGroup
Color | IColorWithTitle targetColor
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