Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sdl2/mod.ts>Canvas#drawPoint

SDL2 module for Deno
Latest
method Canvas.prototype.drawPoint
import { Canvas } from "https://deno.land/x/sdl2@0.9.0/mod.ts";

Draw a point on the current rendering target.

Parameters

x: number

the x coordinate of the point

y: number

the y coordinate of the point