TextHitInfo
corresponding to the specified point. Coordinates outside the bounds of the TextLayout
map to hits on the leading edge of the first logical character, or the trailing edge of the last logical character, as appropriate, regardless of the position of that character in the line. Only the direction along the baseline is used to make this evaluation.
@param x the x offset from the origin of thisTextLayout
. This is in standard coordinates.
@param y the y offset from the origin of thisTextLayout
. This is in standard coordinates.
@param bounds the bounds of the TextLayout
. Thisis in baseline-relative coordinates.
@return a hit describing the character and edge (leading or trailing)under the specified point.
TextHitInfo
corresponding to the specified point. Coordinates outside the bounds of the TextLayout
map to hits on the leading edge of the first logical character, or the trailing edge of the last logical character, as appropriate, regardless of the position of that character in the line. Only the direction along the baseline is used to make this evaluation.
@param x the x offset from the origin of this TextLayout
. This is in standard coordinates.
@param y the y offset from the origin of thisTextLayout
. This is in standard coordinates.
@param bounds the bounds of the TextLayout
. Thisis in baseline-relative coordinates.
@return a hit describing the character and edge (leading or trailing)under the specified point.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|