Provides a mapping, for a given character, from the document model coordinate space to the view coordinate space.
@param pos the position of the desired character (>=0)
@param a the area of the view, which encompasses the requested character
@param b the bias toward the previous character or thenext character represented by the offset, in case the position is a boundary of two views;
b
will have one of these values:
-
Position.Bias.Forward
-
Position.Bias.Backward
@return the bounding box, in view coordinate space,of the character at the specified position
@exception BadLocationException if the specified position doesnot represent a valid location in the associated document
@exception IllegalArgumentException if
b
is not one of thelegal
Position.Bias
values listed above
@see View#viewToModel