Class SurfaceHandler
Constructors
(constructor)(_surface)
Constructs a new instance of the SurfaceHandler class
Declaration
constructor(_surface: Surface);
Parameters
| Type |
Name |
Description |
| Surface |
_surface |
|
Methods
applyLayout(handlerFactory, canvas, surface)
Declaration
static applyLayout(handlerFactory: HandlerFactoryByItem, canvas: ICanvas, surface: Surface): Promise<void>;
Parameters
Returns
| Type |
Description |
| Promise<void> |
|
getBounds(type)
Declaration
getBounds(type: PrintAreaBoundsType): RectangleF;
Parameters
Returns
getItemSurface(item)
Declaration
static getItemSurface(item: Item): any;
Parameters
| Type |
Name |
Description |
| Item |
item |
|
Returns
getPrintAreasBounds(type)
Declaration
getPrintAreasBounds(type: PrintAreaBoundsType): RectangleF;
Parameters
Returns