Function | Defined By | ||
---|---|---|---|
formatString(format:String, ... args):String Formats a String in .Net-style, with curly braces ("{0}"). | starling.utils | ||
getNextPowerOfTwo(number:int):int Returns the next power of two that is equal to or bigger than the specified number. | starling.utils |
formatString | () | function |
public function formatString(format:String, ... args):String
Formats a String in .Net-style, with curly braces ("{0}"). Does not support any number formatting options yet.
Parameters
format:String | |
... args |
String |
getNextPowerOfTwo | () | function |
public function getNextPowerOfTwo(number:int):int
Returns the next power of two that is equal to or bigger than the specified number.
Parameters
number:int |
int |