import { IconOptions, IconResource } from './types'; import { CanvasElementName } from '../abstract'; import CanvasElement from '../abstract/CanvasElement'; /** * The icon class * @author Eirik Måseidvåg */ export default class Icon extends CanvasElement { /** * The resource data */ data: IconResource; /** * Return the name of the canvas element * @returns CanvasElementName */ name: CanvasElementName; /** * Construct the instance * @param options * @protected */ constructor(options: IconOptions); }