-------------------------------- -- @module DrawNode -- @extend Node -------------------------------- -- @function [parent=#DrawNode] drawQuadraticBezier -- @param self -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #unsigned int int -- @param #color4f_table color4f -------------------------------- -- @function [parent=#DrawNode] onDraw -- @param self -- @param #cc.Mat4 mat4 -- @param #bool bool -------------------------------- -- @function [parent=#DrawNode] clear -- @param self -------------------------------- -- @function [parent=#DrawNode] drawTriangle -- @param self -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #color4f_table color4f -------------------------------- -- @function [parent=#DrawNode] drawDot -- @param self -- @param #cc.Vec2 vec2 -- @param #float float -- @param #color4f_table color4f -------------------------------- -- @function [parent=#DrawNode] drawCubicBezier -- @param self -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #unsigned int int -- @param #color4f_table color4f -------------------------------- -- @function [parent=#DrawNode] drawSegment -- @param self -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #float float -- @param #color4f_table color4f -------------------------------- -- @function [parent=#DrawNode] create -- @param self -- @return DrawNode#DrawNode ret (return value: cc.DrawNode) -------------------------------- -- @function [parent=#DrawNode] draw -- @param self -- @param #cc.Renderer renderer -- @param #cc.Mat4 mat4 -- @param #bool bool return nil