TextField:getPointFromTextPosition

From GiderosMobile
Revision as of 01:38, 4 December 2019 by MoKaLux (talk | contribs)


Available since: Gideros 2019.5
Class: TextField

Description

Returns the coordinates from a given offset within the text

(number),(number) = TextField:getPointFromTextPosition(offset)

Parameters

offset: (string) The byte ofsset into the text string.

Return values

Returns (number) The X coordinate.
Returns (number) The Y coordinate.