Class: TextInput

text. TextInput


new TextInput()

Renders strings from off-screen html textfield element into a text.Text object

Author:
  • Chris Peters
Source:

Extends

  • Text

Methods


blur()

Blurs the textfield element

Source:

destroy()

Source:

focus()

Focuses the textfield element

Source:

isFocused()

Source:
Returns:
Type
Boolean

render(context, factor, ticks)

Parameters:
Name Type Description
context Object

The CanvasRenderingContext2D object

factor Integer

The 0-1-based model of elapsed time

ticks Integer

Total elapsed ticks

Source: