Text - текстовое поле¶
- class
Text
()¶ Текстовое поле,
app.CreateText()
-
Text.
Destroy
()¶
-
Text.
Focus
()¶
-
Text.
GetAbsHeight
()¶
-
Text.
GetAbsWidth
()¶
-
Text.
GetHeight
()¶
-
Text.
GetLineCount
()¶
-
Text.
GetLineStart
(lineNum)¶
-
Text.
GetLineTop
(lineNum)¶
-
Text.
GetMaxLines
()¶
-
Text.
GetPosition
()¶
-
Text.
GetText
()¶
-
Text.
GetTextSize
(mode)¶
-
Text.
GetType
()¶
-
Text.
GetVisibility
()¶
-
Text.
GetWidth
()¶
-
Text.
Release
()¶
-
Text.
SetBackColor
(colorCode)¶
-
Text.
SetBackGradient
(color1, color2, color3, p4, p5, p6, p7)¶
-
Text.
SetBackGradientRadial
(x, y, r, color1, color2, color3, p7)¶
-
Text.
SetBackground
(imagefile, options)¶
-
Text.
SetEllipsize
(mode)¶ mode
start
middle
end
marq
-
Text.
SetFontFile
(fileName)¶
-
Text.
SetHtml
(html)¶
-
Text.
SetMargins
(left, top, right, bottom)¶
-
Text.
SetOnLongTouch
(callback)¶
-
Text.
SetOnTouch
(callback)¶ Устанавливает функцию обработчик нажатия на элемент, в обработчик передается эвент события
txt.SetOnTouch(txt_OnTouch); function txt_OnTouch(event){}
-
Text.
SetOnTouchDown
(callback)¶
-
Text.
SetOnTouchMove
(callback)¶
-
Text.
SetOnTouchUp
(callback)¶ Устанавливает функцию обработчик отпускания после нажатия на элемент, в обработчик передается эвент события
txt.SetOnTouchUp(txt_OnTouchUp); function txt_OnTouchUp(event){}
-
Text.
SetPadding
(left, top, right, bottom)¶
-
Text.
SetPosition
(left, top, width, height)¶
-
Text.
SetScale
(x, y)¶
-
Text.
SetSize
(width, height)¶
-
Text.
SetText
(text)¶
-
Text.
SetTextColor
(colorCode)¶
-
Text.
SetTextShadow
(radius, dx, dy, color)¶ Задает тень, для объекта
txt.SetTextShadow(2, 0, 1, 'red');
-
Text.
SetTextSize
(size, mode)¶ Задает размер для текстового поля
txt.SetTextSize(32);
-
Text.
SetTouchable
(touchable)¶
-
Text.
SetVisibility
(HideShow)¶
-