SurfaceHandler
Classes
SurfaceHandler
Constructors
Constructor
new SurfaceHandler(surface): SurfaceHandler;
Parameters
| Parameter | Type |
|---|---|
surface | Surface |
Returns
Methods
getBounds()
getBounds(type): any;
Parameters
| Parameter | Type |
|---|---|
type | PrintAreaBoundsType |
Returns
any
getPrintAreasBounds()
getPrintAreasBounds(type): any;
Parameters
| Parameter | Type |
|---|---|
type | PrintAreaBoundsType |
Returns
any
applyLayout()
static applyLayout(
handlerFactory,
canvas,
surface): Promise<void>;
Parameters
| Parameter | Type |
|---|---|
handlerFactory | HandlerFactoryByItem |
canvas | ICanvas |
surface | Surface |
Returns
Promise<void>
getItemSurface()
static getItemSurface(item): any;
Parameters
| Parameter | Type |
|---|---|
item | Item |
Returns
any