portGravity property
num
get
portGravity
Gets or sets the distance at which link snapping occurs. The default value is 100.0. The value must be non-negative. Setting this property does not raise any events.
Implementation
_i2.num get portGravity => _i4.getProperty(
this,
'portGravity',
);
set
portGravity
(num value)
Implementation
set portGravity(_i2.num value) {
_i4.setProperty(
this,
'portGravity',
value,
);
}