UNPKG

modern-canvas

Version:

A JavaScript WebGL rendering engine. only the ESM.

16 lines (15 loc) 599 B
import type { NormalizedShadow, Shadow } from 'modern-idoc'; import type { Element2D } from './Element2D'; import { CoreObject } from '../../../core'; export declare class Element2DShadow extends CoreObject { parent: Element2D; enabled: boolean; color: NormalizedShadow['color']; blur: NormalizedShadow['blur']; offsetY: NormalizedShadow['offsetX']; offsetX: NormalizedShadow['offsetY']; constructor(parent: Element2D); setProperties(properties?: Shadow): this; protected _updateProperty(key: string, value: any, oldValue: any): void; updateEffect(): void; }