/** * This class represents a ping on the canvas * @author Eirik Måseidvåg */ import { CanvasElementName } from '..'; import { PingOptions } from './types'; import CanvasElement from '../abstract/CanvasElement'; export default class Ping extends CanvasElement { /** * The color of the ping. Represented as a hexadecimal number * E.g. 0xffffff (white) * @public */ color: number; /** * The size of the ping */ size: number; /** * Returns the type of this canvas element * @returns CanvasElementName.PING */ name: CanvasElementName; /** * Construct the object * @param options: CircleOptions */ constructor(options: PingOptions); }