default void paintRange(Graphics g, Span<N, ?> range) {
		int width = getWidth();
		int height = getHeight();

		int x1 = range.minIsFinite()
				? interpolate(width, range.min().doubleValue())
				: 0;
		int x2 = range.maxIsFinite()
				? interpolate(width, range.max().doubleValue())
				: width;

		int y1 = height > 2 ? 1 : 0;
		int y2 = height > 2 ? height - 1 : height;

		g.fillRect(x1, y1, x2 - x1, y2 - y1);
	}
Paint a given span

@param g the graphics, bound to a component
@param range the span
Ghidra/Debug/ProposedUtils/src/main/java/docking/widgets/table/SpannedRenderer.java