Skip to main content
Module

x/tui/src/canvas.ts>Canvas#draw

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
method Canvas.prototype.draw
import { Canvas } from "https://deno.land/x/tui@1.3.4/src/canvas.ts";

Render value starting on column and row on canvas

When rectangle is given: If particular part of the rendering doesn't fit within rectangle boundaries then it's not drawn

Parameters

column: number
row: number
value: string
optional
rectangle: Rectangle