Package | com.threerings.ui |
Class | public class SimpleTextButton |
Inheritance | SimpleTextButton ![]() |
Method | Defined by | ||
---|---|---|---|
SimpleTextButton(text:String, rounded:Boolean = true, foreground:uint = 0x003366, background:uint = 0x6699CC, highlight:uint = 0x0066FF, padding:int = 5, textFormat:TextFormat = null)
| SimpleTextButton |
Method | Defined by | ||
---|---|---|---|
makeFace(text:String, rounded:Boolean, foreground:uint, background:uint, padding:int, textFormat:TextFormat):Sprite
| SimpleTextButton |
SimpleTextButton | () | constructor |
public function SimpleTextButton(text:String, rounded:Boolean = true, foreground:uint = 0x003366, background:uint = 0x6699CC, highlight:uint = 0x0066FF, padding:int = 5, textFormat:TextFormat = null)
Parameters
text:String |
|
rounded:Boolean (default = true )
|
|
foreground:uint (default = 0x003366 )
|
|
background:uint (default = 0x6699CC )
|
|
highlight:uint (default = 0x0066FF )
|
|
padding:int (default = 5 )
|
|
textFormat:TextFormat (default = null )
|
makeFace | () | method |
protected function makeFace(text:String, rounded:Boolean, foreground:uint, background:uint, padding:int, textFormat:TextFormat):Sprite
Parameters
text:String |
|
rounded:Boolean |
|
foreground:uint |
|
background:uint |
|
padding:int |
|
textFormat:TextFormat |
Sprite |