Class LimitedColorContainer
Inheritance
LimitedColorContainer
Constructors
(constructor)(initialItems, name)
Constructs a new instance of the LimitedColorContainer class
Declaration
constructor(initialItems?: BaseItem[], name?: string);
Parameters
| Type |
Name |
Description |
| BaseItem[] |
initialItems |
|
| string |
name |
|
Properties
maxColorNumber
Declaration
maxColorNumber: number | null;
Property Value
| Type |
Description |
| number | null |
|
paletteUId
Declaration
paletteUId: string | null;
Property Value
| Type |
Description |
| string | null |
|
renderingType
Declaration
get renderingType(): RenderingType;
Property Value
type
Declaration
Property Value
type
Declaration
Property Value
Methods
_copy(source, destination, generateNewIds)
Declaration
protected _copy(source: LimitedColorContainer, destination: LimitedColorContainer, generateNewIds: boolean): void;
Parameters
Returns
clone(generateNewIds)
Declaration
clone(generateNewIds?: boolean): SurfaceContainer;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
Returns
getSimplifiedObject()
Declaration
getSimplifiedObject(): {
maxColorNumber: number;
paletteUId: string;
printingTechniqueConstraints: {
allowRasterElements: boolean;
minWidth: number;
minFontSize: number;
targetDpi: number;
};
constraints: {
maxArtworkSize: {
width: number;
height: number;
shapeType: import(".").ArtworkShapeType;
};
};
constructor: Function;
toString(): string;
toLocaleString(): string;
valueOf(): Object;
hasOwnProperty(v: string | number | symbol): boolean;
isPrototypeOf(v: Object): boolean;
propertyIsEnumerable(v: string | number | symbol): boolean;
};
Returns
| Type |
Description |
| {
maxColorNumber: number;
paletteUId: string;
printingTechniqueConstraints: {
allowRasterElements: boolean;
minWidth: number;
minFontSize: number;
targetDpi: number;
};
constraints: {
maxArtworkSize: {
width: number;
height: number;
shapeType: import(".").ArtworkShapeType;
};
};
constructor: Function;
toString(): string;
toLocaleString(): string;
valueOf(): Object;
hasOwnProperty(v: string | number | symbol): boolean;
isPrototypeOf(v: Object): boolean;
propertyIsEnumerable(v: string | number | symbol): boolean;
} |
|