UNPKG

party-js

Version:

A JavaScript library to brighten up your user's site experience with visual effects!

25 lines (24 loc) 519 B
/** * Represents a circle. */ export declare class Circle { /** * The x-coordinate of the circle. */ x: number; /** * The y-coordinate of the circle. */ y: number; /** * The radius of the circle. * * @defaultValue 0 */ radius: number; /** * Creates a new circle at the specified coordinates, with a default radius of 0. */ constructor(x: number, y: number, radius?: number); static readonly zero: Circle; }