Class SurfaceContainer
Inheritance
SurfaceContainer
Constructors
(constructor)(initialItems, name)
Constructs a new instance of the SurfaceContainer class
Declaration
constructor(initialItems?: BaseItem[], name?: string);
Parameters
| Type |
Name |
Description |
| BaseItem[] |
initialItems |
|
| string |
name |
|
Properties
constraints
Declaration
constraints: ContainerConstraints;
Property Value
printingTechniqueConstraints
Declaration
printingTechniqueConstraints: PrintingTechniqueConstraints;
Property Value
type
Declaration
Property Value
type
Declaration
Property Value
Methods
_copy(source, destination, generateNewIds)
Declaration
protected _copy(source: SurfaceContainer, destination: SurfaceContainer, generateNewIds: boolean): void;
Parameters
Returns
clone(generateNewIds)
Declaration
clone(generateNewIds?: boolean): SurfaceContainer;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
Returns
getSimplifiedObject()
Declaration
getSimplifiedObject(): {
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 |
| {
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;
} |
|