Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/caviar/src/entities/sprites/Image.ts>Image

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
class Image
extends Entity
import { Image } from "https://deno.land/x/caviar@2.3.2/src/entities/sprites/Image.ts";

Constructors

new
Image(
url: string,
x: number,
y: number,
)

Properties

height: number
image: HTMLImage
url: string
width: number