Class ccui.VBox

Class Summary
Constructor Attributes Constructor Name and Description
 
The vertical box of Cocos UI.

Method Summary

Class Detail

ccui.VBox()
The vertical box of Cocos UI. Its layout type is ccui.Layout.LINEAR_VERTICAL.

Method Detail

  • <static> {ccui.VBox} ccui.VBox.create(size)
    Creates a VBox
    Parameters:
    {cc.Size} size
    Returns:
    {ccui.VBox}
  • ctor(size)
    The constructor of ccui.VBox
    Parameters:
    {cc.Size} size
  • {boolean} init()
    Initializes a VBox. please do not call this function by yourself, you should pass the parameters to constructor to initialize it.
    Returns:
    {boolean}
  • {boolean} initWithSize(size)
    Initializes a VBox with size.
    Parameters:
    {cc.Size} size
    Returns:
    {boolean}