bool strokeLengthWithinBounds(double strokeLength, List<double> lengthRange) { return strokeLength > lengthRange[0] && strokeLength < lengthRange[1]; }