strokeLine(startX, startY, endX, endY) {
		if (this.getGlobalAlpha() < 1 / 255) {
			// Fast path: don't draw fully transparent
			return;
		}

		const context = this.getContext();

		context.beginPath();
		context.moveTo(startX, startY);
		context.lineTo(endX, endY);
		context.stroke();
	}
Stroke a line of the given two points
@param {number} startX - the start x coordinate
@param {number} startY - the start y coordinate
@param {number} endX - the end x coordinate
@param {number} endY - the end y coordinate