Class PrintArea
Constructors
(constructor)(bounds, bleed, slug, shape)
Constructs a new instance of the PrintArea class
Declaration
constructor(bounds?: RectangleF, bleed?: Margin, slug?: Margin, shape?: Path);
Parameters
| Type |
Name |
Description |
| RectangleF |
bounds |
|
| Margin |
bleed |
|
| Margin |
slug |
|
| Path |
shape |
|
Properties
bleed
Declaration
get bleed(): Margin;
set bleed(value: Margin);
Property Value
bounds
Declaration
get bounds(): RectangleF;
set bounds(value: RectangleF);
Property Value
cropMarks
Declaration
get cropMarks(): Collection<CropMark>;
set cropMarks(value: Collection<CropMark>);
Property Value
parentSurface
Declaration
Property Value
safetyLines
Declaration
get safetyLines(): Collection<SafetyLine>;
set safetyLines(value: Collection<SafetyLine>);
Property Value
shape
Declaration
get shape(): Path;
set shape(value: Path);
Property Value
slug
Declaration
get slug(): Margin;
set slug(value: Margin);
Property Value
Methods
_copy(source, destination, generateNewIds)
Declaration
protected _copy(source: PrintArea, destination: PrintArea, generateNewIds: boolean): void;
Parameters
Returns
clone(generateNewIds)
Declaration
clone(generateNewIds?: boolean): PrintArea;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
Returns
generateNewIds()
Declaration
Returns
getBounds(type)
Declaration
getBounds(type: PrintAreaBoundsType): RectangleF;
Parameters
Returns
getSimplifiedObject()
Declaration
getSimplifiedObject(): {};
Returns