-------------------------------- -- @module RichText -- @extend Widget -- @parent_module ccui -------------------------------- -- brief Insert a RichElement at a given index.
-- param element A RichElement type.
-- param index A given index. -- @function [parent=#RichText] insertElement -- @param self -- @param #ccui.RichElement element -- @param #int index -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Add a RichElement at the end of RichText.
-- param element A RichElement instance. -- @function [parent=#RichText] pushBackElement -- @param self -- @param #ccui.RichElement element -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Set vertical space between each RichElement.
-- param space Point in float. -- @function [parent=#RichText] setVerticalSpace -- @param self -- @param #float space -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Rearrange all RichElement in the RichText.
-- It's usually called internally. -- @function [parent=#RichText] formatText -- @param self -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- @overload self, ccui.RichElement -- @overload self, int -- @function [parent=#RichText] removeElement -- @param self -- @param #int index -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Create a empty RichText.
-- return RichText instance. -- @function [parent=#RichText] create -- @param self -- @return RichText#RichText ret (return value: ccui.RichText) -------------------------------- -- -- @function [parent=#RichText] setAnchorPoint -- @param self -- @param #vec2_table pt -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- -- @function [parent=#RichText] getDescription -- @param self -- @return string#string ret (return value: string) -------------------------------- -- -- @function [parent=#RichText] getVirtualRendererSize -- @param self -- @return size_table#size_table ret (return value: size_table) -------------------------------- -- -- @function [parent=#RichText] ignoreContentAdaptWithSize -- @param self -- @param #bool ignore -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Default constructor. -- @function [parent=#RichText] RichText -- @param self -- @return RichText#RichText self (return value: ccui.RichText) return nil