toShortLength property

num get toShortLength

Gets or sets how far the end segment stops short of the actual port. Positive values are limited by the #toEndSegmentLength or GraphObject#toEndSegmentLength. Negative values cause the link to extend into the port. The default value is NaN -- the value actually comes from the GraphObject#toShortLength property of the #toPort.

For examples of how to use this property, see Link Connection Points. If you want to move an arrowhead away from the end of the link route, set the arrowhead Shape's GraphObject#segmentOffset.

Implementation

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

Implementation

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