smoothness property

num get smoothness

Gets or sets how far the control points are from the points of the route when #routing is Link.Orthogonal|Orthogonal and #curve is Link.Bezier|Bezier.

The default value is 0.5. Values of this property typically fall in the range of 0.0 to 1.0. A value of 0.0 indicates that the control points of the curve are at the end points, which will result in straight line segments. A value of 1.0 indicates that the control points are one-third of the link's length away from the end point along the direction of the link, and the same distance away in a perpendicular direction. The distance scales linearly with the value of this property, even with negative values and values greater than 1.0.

Implementation

_i2.num get smoothness => _i4.getProperty(
      this,
      'smoothness',
    );
set smoothness (num value)

Implementation

set smoothness(_i2.num value) {
  _i4.setProperty(
    this,
    'smoothness',
    value,
  );
}