getPositiveSpaceRatio method

double getPositiveSpaceRatio()

Implementation

double getPositiveSpaceRatio() {
  return dashLength / (dashLength + (dashSpacing ?? 0));
}