-------------------------------- -- @module LoadingBar -- @extend Widget -- @parent_module ccui -------------------------------- -- Changes the progress direction of loadingbar.
-- param percent percent value from 1 to 100. -- @function [parent=#LoadingBar] setPercent -- @param self -- @param #float percent -------------------------------- -- Load texture for loadingbar.
-- param texture file name of texture.
-- param texType @see TextureResType -- @function [parent=#LoadingBar] loadTexture -- @param self -- @param #string texture -- @param #int texType -------------------------------- -- Changes the progress direction of loadingbar.
-- see Direction LEFT means progress left to right, RIGHT otherwise.
-- param direction Direction -- @function [parent=#LoadingBar] setDirection -- @param self -- @param #int direction -------------------------------- -- Sets if loadingbar is using scale9 renderer.
-- param enabled true that using scale9 renderer, false otherwise. -- @function [parent=#LoadingBar] setScale9Enabled -- @param self -- @param #bool enabled -------------------------------- -- Sets capinsets for loadingbar, if loadingbar is using scale9 renderer.
-- param capInsets capinsets for loadingbar -- @function [parent=#LoadingBar] setCapInsets -- @param self -- @param #rect_table capInsets -------------------------------- -- Gets the progress direction of loadingbar.
-- see Direction LEFT means progress left to right, RIGHT otherwise.
-- return Direction -- @function [parent=#LoadingBar] getDirection -- @param self -- @return int#int ret (return value: int) -------------------------------- -- -- @function [parent=#LoadingBar] getCapInsets -- @param self -- @return rect_table#rect_table ret (return value: rect_table) -------------------------------- -- -- @function [parent=#LoadingBar] isScale9Enabled -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- Gets the progress direction of loadingbar.
-- return percent value from 1 to 100. -- @function [parent=#LoadingBar] getPercent -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @overload self, string, float -- @overload self -- @function [parent=#LoadingBar] create -- @param self -- @param #string textureName -- @param #float percentage -- @return LoadingBar#LoadingBar ret (retunr value: ccui.LoadingBar) -------------------------------- -- -- @function [parent=#LoadingBar] createInstance -- @param self -- @return Ref#Ref ret (return value: cc.Ref) -------------------------------- -- -- @function [parent=#LoadingBar] getVirtualRenderer -- @param self -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- Returns the "class name" of widget. -- @function [parent=#LoadingBar] getDescription -- @param self -- @return string#string ret (return value: string) -------------------------------- -- -- @function [parent=#LoadingBar] getVirtualRendererSize -- @param self -- @return size_table#size_table ret (return value: size_table) -------------------------------- -- -- @function [parent=#LoadingBar] ignoreContentAdaptWithSize -- @param self -- @param #bool ignore -------------------------------- -- Default constructor -- @function [parent=#LoadingBar] LoadingBar -- @param self return nil