Skip to main content

SurfaceHandler

Classes​

SurfaceHandler​

Constructors​

Constructor​
new SurfaceHandler(surface): SurfaceHandler;
Parameters​
ParameterType
surfaceSurface
Returns​

SurfaceHandler

Methods​

getBounds()​
getBounds(type): any;
Parameters​
ParameterType
typePrintAreaBoundsType
Returns​

any

getPrintAreasBounds()​
getPrintAreasBounds(type): any;
Parameters​
ParameterType
typePrintAreaBoundsType
Returns​

any

applyLayout()​
static applyLayout(
handlerFactory,
canvas,
surface): Promise<void>;
Parameters​
ParameterType
handlerFactoryHandlerFactoryByItem
canvasICanvas
surfaceSurface
Returns​

Promise<void>

getItemSurface()​
static getItemSurface(item): any;
Parameters​
ParameterType
itemItem
Returns​

any

Was this page helpful?