Back to Website
Show / Hide Table of Contents

Class SurfaceHandler

Package: @aurigma/design-atoms

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
Type Name Description
HandlerFactoryByItem handlerFactory
ICanvas canvas
Surface surface
Returns
Type Description
Promise<void>

getBounds(type)

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

getItemSurface(item)

Declaration
static getItemSurface(item: Item): any;
Parameters
Type Name Description
Item item
Returns
Type Description
any

getPrintAreasBounds(type)

Declaration
getPrintAreasBounds(type: PrintAreaBoundsType): RectangleF;
Parameters
Type Name Description
PrintAreaBoundsType type
Returns
Type Description
RectangleF
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