Class ccui.Button#ctor
- Defined in: UIButton.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
ccui.Button#ctor(normalImage, selectedImage, disableImage, texType)
allocates and initializes a UIButton.
|
Class Detail
ccui.Button#ctor(normalImage, selectedImage, disableImage, texType)
allocates and initializes a UIButton.
Constructor of ccui.Button
// example var uiButton = new ccui.Button();
- Parameters:
- normalImage
- selectedImage
- disableImage
- texType