Fray Electron
    Preparing search index...

    Function moveCanvasPanel

    • Moves a canvas panel to a world-coordinate position.

      Parameters

      • canvas: CanvasLayout

        Current canvas.

      • panelId: string

        Panel to move.

      • x: number

        New left coordinate in canvas units.

      • y: number

        New top coordinate in canvas units.

      Returns CanvasLayout

      Updated canvas; input remains unchanged.