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

    Interface ImageDrawCommand

    Image draw command — renders image at screen-space rect (x, y, w, h). The image is stretched to fit; no tiling. Use a pattern FillStyle on a path for tiling.

    interface ImageDrawCommand {
        h: number;
        image: ImageBitmap;
        kind: "image";
        opacity?: number;
        w: number;
        x: number;
        y: number;
    }
    Index

    Properties

    Properties

    h: number
    image: ImageBitmap
    kind: "image"
    opacity?: number
    w: number
    x: number
    y: number