ComputeFitToCanvasParams
Parameters for computeFitToCanvas.
Import:
import type { ComputeFitToCanvasParams } from 'obsidian-integration-testing';Signature:
export interface ComputeFitToCanvasParamsProperties
| Property | Type | Description |
|---|---|---|
| canvasHeightInPixels | number | Height of the target canvas, in pixels. |
| canvasWidthInPixels | number | Width of the target canvas, in pixels. |
| sourceHeightInPixels | number | Height of the source image, in pixels. |
| sourceWidthInPixels | number | Width of the source image, in pixels. |
Links to this page: