메소드 | 설명 | |
---|---|---|
GetCharacterPosition ( int index ) : System.Vector2 |
Gets the coordinates of specified character in the text.
|
|
GetClosestCharacter ( Vector2i p ) : int |
Searches for a character closest to given point.
|
|
SizeToContents ( ) : void |
Sizes the control to its contents.
|
|
Text ( |
Initializes a new instance of the Text class.
|
메소드 | 설명 | |
---|---|---|
Layout ( Skins skin ) : void |
Lays out the control's interior according to alignment, padding, dock etc.
|
|
OnScaleChanged ( ) : void |
Handler invoked when control's scale changes.
|
|
Render ( Skins skin ) : void |
Renders the control using specified skin.
|
public GetCharacterPosition ( int index ) : System.Vector2 | ||
index | int | Character index. |
리턴 | System.Vector2 |
public GetClosestCharacter ( Vector2i p ) : int | ||
p | Vector2i | Point. |
리턴 | int |
public Text ( |
||
parent | Parent control. | |
리턴 | System |