TextField:getPointFromTextPosition
From GiderosMobile
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.
- TextField
- TextField.new
- TextField:getLayout
- TextField:getLetterSpacing
- TextField:getLineHeight
- TextField:getPointFromTextPosition
- TextField:getSample
- TextField:getText
- TextField:getTextColor
- TextField:getTextPositionFromPoint
- TextField:setFont
- TextField:setLayout
- TextField:setLetterSpacing
- TextField:setSample
- TextField:setText
- TextField:setTextColor