averageKerning property

double get averageKerning

Gets the average kerning between adjacent artifacts in the band.

Triggers calculation if not previously computed.

Returns: The average kerning as a double, or -1 if there are fewer than 2 artifacts.

Implementation

double get averageKerning {
  if ((_averageKerning == -1 || _averageWidth == -1)) {
    _updateStatistics();
  }
  return _averageKerning;
}