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

x/caviar/src/entities/mod.ts>Circle

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

Constructors

new
Circle(
x: number,
y: number,
radius: number,
fill: RGBA | string,
)

Properties

fill: RGBA
points: Array<Point>
prevX: number
prevY: number
radius: number