API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceDropShadowFilterOptions
@codexo/exojs / rendering / stable
Construction-time options for a DropShadowFilter.
6
props
0
methods
0
events
Import
import { DropShadowFilterOptions } from '@codexo/exojs'Construction-time options for a DropShadowFilter.
Properties6
blur?: numberSoftness: the Gaussian standard deviation the silhouette is blurred by, in logical units - the same quantity BlurFilterOptions.strength takes. Default 2.
Shadow colour; its alpha is the shadow's opacity. Default black at 0.5.
offsetX?: numberShadow offset along x in LOGICAL units. Default 4.
offsetY?: numberShadow offset along y in LOGICAL units. Default 4.
quality?: numberTap cap for that blur, see BlurFilterOptions.quality. Derived when omitted.
shadowOnly?: booleanDraw only the shadow and leave the source out. Default false.
Source