C# Class FairyGUI.TextField

Inheritance: DisplayObject
显示文件 Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Methods

Method Description
EnableCharPositionSupport ( ) : void
EnsureSizeCorrect ( ) : void
GetLinesShape ( int startLine, float startCharX, int endLine, float endCharX, bool clipped, List resultRects ) : void

Redraw ( ) : void

SetAlternativeText ( string value, bool html ) : void

TextField ( ) : System
Update ( UpdateContext context ) : void

Protected Methods

Method Description
OnSizeChanged ( bool widthChanged, bool heightChanged ) : void

Private Methods

Method Description
ApplyVertAlign ( ) : void
BuildLines ( ) : void
BuildLinesFinal ( ) : void
BuildMesh ( ) : void
Cleanup ( ) : void
EnableRichSupport ( RichTextField richTextField ) : void
HandleEmojies ( ) : void
RequestText ( ) : void

准备字体纹理

Method Details

EnableCharPositionSupport() public method

public EnableCharPositionSupport ( ) : void
return void

EnsureSizeCorrect() public method

public EnsureSizeCorrect ( ) : void
return void

GetLinesShape() public method

public GetLinesShape ( int startLine, float startCharX, int endLine, float endCharX, bool clipped, List resultRects ) : void
startLine int
startCharX float
endLine int
endCharX float
clipped bool
resultRects List
return void

OnSizeChanged() protected method

protected OnSizeChanged ( bool widthChanged, bool heightChanged ) : void
widthChanged bool
heightChanged bool
return void

Redraw() public method

public Redraw ( ) : void
return void

SetAlternativeText() public method

public SetAlternativeText ( string value, bool html ) : void
value string
html bool
return void

TextField() public method

public TextField ( ) : System
return System

Update() public method

public Update ( UpdateContext context ) : void
context UpdateContext
return void