Line.coordinatesOnLine will return all coordinates on the line using Bresenhams line algorithm.
Line now has x, y, width, height, top, bottom, left and right properties, so you can effectively get its bounds.