weasel API - v0.8.0
    Preparing search index...

    Interface Dims

    Canvas size in CSS pixels — passed to draw for layers that anchor to canvas edges (e.g. the debug overlay's layer-list panel). The GL backend supplies it explicitly so layers don't have to know about DPR.

    interface Dims {
        height: number;
        width: number;
    }
    Index

    Properties

    Properties

    height: number
    width: number