TextField:getPointFromTextPosition

From GiderosMobile
Revision as of 07:49, 21 May 2019 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2019.5<br/> '''<translate>Class</translate>:''' TextField<br/> =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.