documentationfor yFiles for HTML 2.6

ShadowNodeStyleDecorator

Decorates other node styles with a smooth drop shadow.

Inheritance Hierarchy
ShadowNodeStyleDecorator
Implemented Interfaces

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.

Type Details

yfiles module
styles-other
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.styles.ShadowNodeStyleDecorator

Constructors

Properties

Methods