Class ClipartItem
Constructors
(constructor)(items, colorGroups)
Constructs a new instance of the ClipartItem class
Declaration
constructor(items?: Item[], colorGroups?: ColorGroup[]);
Parameters
Properties
colorGroups
Declaration
get colorGroups(): ColorGroup[];
set colorGroups(value: ColorGroup[]);
Property Value
type
Declaration
Property Value
type
Declaration
Property Value
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
applyPermissionsConstrain()
Declaration
applyPermissionsConstrain(): void;
Returns
clone(generateNewIds, appropriateParentContainer)
Declaration
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): ClipartItem;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
getSimplifiedObject(omitProperties)
Declaration
getSimplifiedObject(omitProperties?: string[] | string): Object;
Parameters
| Type |
Name |
Description |
| string[] | string |
omitProperties |
|
Returns
setColor(colorGroup, targetColor)
Declaration
setColor(colorGroup: ColorGroup, targetColor: Color | IColorWithTitle): void;
Parameters
Returns