/** * The shadow plugin draws a shadow around the canvas element * @author Eirik Måseidvåg */ import { CanvasElementPluginType } from '../abstract'; import { ShadowPluginOptions } from './types'; import CanvasElementPlugin from '../abstract/CanvasElementPlugin'; export default class ShadowPlugin extends CanvasElementPlugin { /** * The color of the shadow */ color: number; /** * The opacity of the shadow */ opacity: number; /** * The blur multiplier of the shadow */ blur: number; /** * The canvas element plugin type */ name: CanvasElementPluginType; /** * Construct the range plugin * @param options */ constructor(options: ShadowPluginOptions); }