Policy determining how corners in paths are smoothed in createSmoothedPath.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.geometry.SmoothingPolicy
Constants
Limits the smoothing length to the same value on both sides of a corner to avoid lopsided curves around a mixture of short and long segments.
Remarks
This improves smoothing results especially with large smoothing lengths on paths that have very short and very long segments adjacent to each other.
Sample Graphs
Static Methods
Converts the argument to SmoothingPolicy.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - SmoothingPolicy
- The value to convert to SmoothingPolicy.
Returns
- ↪SmoothingPolicy
- Either
value
if it is already a SmoothingPolicy or an appropriate converted value.