Back to Website
Show / Hide Table of Contents

Class PrintArea

Inheritance
ModelComponent
PrintArea
Package: @aurigma/design-atoms-model

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
Type Description
Margin

bounds

Declaration
get bounds(): RectangleF;

set bounds(value: RectangleF);
Property Value
Type Description
RectangleF

cropMarks

Declaration
get cropMarks(): Collection<CropMark>;

set cropMarks(value: Collection<CropMark>);
Property Value
Type Description
Collection<CropMark>

parentSurface

Declaration
parentSurface: Surface;
Property Value
Type Description
Surface

safetyLines

Declaration
get safetyLines(): Collection<SafetyLine>;

set safetyLines(value: Collection<SafetyLine>);
Property Value
Type Description
Collection<SafetyLine>

shape

Declaration
get shape(): Path;

set shape(value: Path);
Property Value
Type Description
Path

slug

Declaration
get slug(): Margin;

set slug(value: Margin);
Property Value
Type Description
Margin

Methods

_copy(source, destination, generateNewIds)

Declaration
protected _copy(source: PrintArea, destination: PrintArea, generateNewIds: boolean): void;
Parameters
Type Name Description
PrintArea source
PrintArea destination
boolean generateNewIds
Returns
Type Description
void

clone(generateNewIds)

Declaration
clone(generateNewIds?: boolean): PrintArea;
Parameters
Type Name Description
boolean generateNewIds
Returns
Type Description
PrintArea

generateNewIds()

Declaration
generateNewIds(): void;
Returns
Type Description
void

getBounds(type)

Declaration
getBounds(type: PrintAreaBoundsType): RectangleF;
Parameters
Type Name Description
PrintAreaBoundsType type
Returns
Type Description
RectangleF

getSimplifiedObject()

Declaration
getSimplifiedObject(): {};
Returns
Type Description
{}
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