Dotloom TypeScript API
    Preparing search index...

    Interface ViewSize

    @dotloomjs/sdk — framework-agnostic TypeScript SDK for Dotloom.

    Importing this module has no side effects and touches no browser globals, so it is safe in SSR/build environments; browser APIs are used only when an engine, renderer or editor is created.

    interface ViewSize {
        dpr: number;
        height: number;
        width: number;
    }
    Index
    dpr: number

    Device pixels per CSS pixel (the canvas' actual ratio).

    height: number

    CSS pixels.

    width: number

    CSS pixels.