Skip to content

captureSize beta ​

Function of @v12-engine/render

ts
export declare function captureSize(width: number, height: number, scale: number, most: number): {
    width: number;
    height: number;
};

How big a picture at a scale is: the canvas's pixels times it, no wider or taller than most (the client's viewCaptureSize)