IViewportHandler
Interfaces
IViewportHandler
Methods
applyViewportTransformTo2dContext()
applyViewportTransformTo2dContext(context, canvas): void;
Parameters
| Parameter | Type |
|---|---|
context | CanvasRenderingContext2D |
canvas | HTMLCanvasElement |
Returns
void
applyViewportTransformToTwMatrix()
applyViewportTransformToTwMatrix(matrix, canvas): void;
Parameters
| Parameter | Type |
|---|---|
matrix | Matrix |
canvas | HTMLCanvasElement |
Returns
void