Calculates the needed gap based on type
double get neededSpace => type == DotBorderType.none ? 0.0 : (width / 2 + (padding * 2));