Difference between revisions of "TextField:setSample"
From GiderosMobile
Line 10: | Line 10: | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''sample''': (string) <translate>string to use as sample</translate> <br/> | '''sample''': (string) <translate>string to use as sample</translate> <br/> | ||
+ | |||
+ | {{TextField}} |
Revision as of 01:42, 4 December 2019
Available since: Gideros 2016.08
Class: TextField
Description
Set string that will be used as sample for determining text's line height
TextField:setSample(sample)
Parameters
sample: (string) string to use as sample
- 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