/** * The highlight plugin displays a box around the canvas element to highlight it * @author Eirik Måseidvåg */ import { CanvasElementPluginType } from '../abstract'; import CanvasElementPlugin from '../abstract/CanvasElementPlugin'; import { HighlightPluginOptions } from './types'; export default class HighlightPlugin extends CanvasElementPlugin { /** * The event listener name to listen for * The function bound expects 1 parameters, enabled (boolean) */ listener: string; /** * The color of the highlight */ color: number; /** * The canvas element plugin type */ name: CanvasElementPluginType; /** * Construct the range plugin * @param options */ constructor(options: HighlightPluginOptions); }