public Rectangle getCursorBounds() {
		AnchoredLayout layout = findLayoutOnScreen(cursorPosition.getIndex());
		if (layout == null) {
			return null;
		}
		return layout.getCursorRect(cursorPosition.fieldNum, cursorPosition.row,
			cursorPosition.col);
	}
Returns the point in pixels of where the cursor is located.

@return the point in pixels of where the cursor is located.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java