Back to Website
Show / Hide Table of Contents

Interface IViewportHandler

Package: @aurigma/design-atoms

Methods

applyViewportTransformTo2dContext(context, canvas)

Declaration
applyViewportTransformTo2dContext(context: CanvasRenderingContext2D, canvas: HTMLCanvasElement): void;
Parameters
Type Name Description
CanvasRenderingContext2D context
HTMLCanvasElement canvas
Returns
Type Description
void

applyViewportTransformToTwMatrix(matrix, canvas)

Declaration
applyViewportTransformToTwMatrix(matrix: TextWhizz.Matrix, canvas: HTMLCanvasElement): void;
Parameters
Type Name Description
TextWhizz.Matrix matrix
HTMLCanvasElement canvas
Returns
Type Description
void
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