documentationfor yFiles for HTML 3.0.0.3

PathEdgeStyleBase

An abstract base class that makes it possible to easily implement a custom GeneralPath-based IEdgeStyle.

Inheritance Hierarchy
PathEdgeStyleBase
Implemented Interfaces

Remarks

The only method that needs to be implemented by subclasses is getPath. The other callback methods like getStroke, getSourceArrow, and getTargetArrow can be overridden to easily customize the path visualization.

This implementation differs from the straightforward IEdgeStyle implementation in that there is no visible separation between the style and its IEdgeStyleRenderer. Instead, the renderer used by the base class is fixed and delegates all calls back to the style instance.

Type Details

yFiles module
view

Constructors

Properties

Methods

Static Methods