C# Class MyGUI.Tools

ファイルを表示 Open project: Backman/Hellbound

Public Methods

Method Description
getLine ( Stack words, UILabel targetLabel, bool doLinePadding ) : string

Returns a line composed of the words in the stack that would fit into the label. The line is returned when the next word wouldn't fit or the last poped word was a newline. The stack is requiered to have all characters and all whitespaces in separate elements. The labels text must be blank.

Method Details

getLine() public static method

Returns a line composed of the words in the stack that would fit into the label. The line is returned when the next word wouldn't fit or the last poped word was a newline. The stack is requiered to have all characters and all whitespaces in separate elements. The labels text must be blank.
public static getLine ( Stack words, UILabel targetLabel, bool doLinePadding ) : string
words Stack
targetLabel UILabel
doLinePadding bool
return string