If by some chance someone did need this, is there a valid API based way to get the information?

Yes, while not necessary, it's still possible for consumers to recompute this value directly. It's actually always been either null or StyledText.getLineHeight() so far, according only to the type of the annotation (that client can already check programatically).