2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module DrawNode
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Node
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] drawQuadraticBezier
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #unsigned int int
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color4f_table color4f
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] onDraw
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Mat4 mat4
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] clear
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] drawTriangle
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
-- @param #cc.Vec2 vec2
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color4f_table color4f
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] drawDot
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #float float
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color4f_table color4f
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] drawCubicBezier
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #unsigned int int
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color4f_table color4f
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] drawSegment
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #float float
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color4f_table color4f
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] create
|
|
|
|
-- @param self
|
|
|
|
-- @return DrawNode#DrawNode ret (return value: cc.DrawNode)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#DrawNode] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Mat4 mat4
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|