Decorates other node styles with a smooth drop shadow.
Implements
Inheritance Hierarchy
Remarks
This implementation uses an SVG filter effect. This may cause performance issues for larger nodes or high zoom factors. In this case it might be more appropriate to implement a drop shadow implementation using canvas drawing and displaying the canvas content using an
image element with canvas.toDataURL.Members
No filters for this type
Constructors
Creates a new instance wrapping the provided style.
Creates a new instance wrapping the provided style.
The provided instance is used by reference, so subsequent changes to the style will affect the appearance of this style.
Parameters
- wrappedStyle?: INodeStyle
- The style to wrap.
Properties
Gets the renderer implementation that can be queried for implementations that provide details about the visual appearance and visual behavior for a given node and this style instance.
Gets the renderer implementation that can be queried for implementations that provide details about the visual appearance and visual behavior for a given node and this style instance.
The idiom for retrieving, e.g. an IVisualCreator implementation for a given style is:
const creator = style.renderer.getVisualCreator(node, style)
const visual = creator.createVisual(context)readonlyfinal
Implements
INodeStyle.rendererGets or sets the wrapped node style instance by reference.
Gets or sets the wrapped node style instance by reference.
final
Methods
Create a clone of this object.
Create a clone of this object.