|
|
__init__(self,
start,
end,
color,
stroke_width=1)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
|
|
render(self)
|
|
|
build_vbo(self)
(Inherited from cocos.draw.Canvas)
|
|
|
draw(self)
This is the function you will have to override if you want your
subclassed to draw something on screen.
(Inherited from cocos.draw.Canvas)
|
|
|
endcap(self,
line,
cap_type)
(Inherited from cocos.draw.Canvas)
|
|
|
free(self)
(Inherited from cocos.draw.Canvas)
|
|
|
line_to(self,
end)
(Inherited from cocos.draw.Canvas)
|
|
|
move_to(self,
position)
(Inherited from cocos.draw.Canvas)
|
|
|
on_exit(self)
Called every time just before the node leaves the stage
(Inherited from cocos.draw.Canvas)
|
|
|
pop(self)
(Inherited from cocos.draw.Canvas)
|
|
|
push(self)
(Inherited from cocos.draw.Canvas)
|
|
|
rotate(self,
radians)
(Inherited from cocos.draw.Canvas)
|
|
|
set_color(self,
color)
(Inherited from cocos.draw.Canvas)
|
|
|
set_endcap(self,
cap)
(Inherited from cocos.draw.Canvas)
|
|
|
set_join(self,
join)
(Inherited from cocos.draw.Canvas)
|
|
|
set_stroke_width(self,
stroke_width)
(Inherited from cocos.draw.Canvas)
|
|
|
translate(self,
vect)
(Inherited from cocos.draw.Canvas)
|
Inherited from cocosnode.CocosNode:
__contains__,
add,
are_actions_running,
do,
get,
get_ancestor,
get_children,
on_enter,
pause,
pause_scheduler,
remove,
remove_action,
resume,
resume_scheduler,
schedule,
schedule_interval,
stop,
transform,
unschedule,
visit,
walk
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
Inherited from cocosnode.CocosNode:
actions,
camera,
children,
children_anchor_x,
children_anchor_y,
children_names,
grid,
is_running,
rotation,
scale,
scheduled_calls,
scheduled_interval_calls,
skip_frame,
to_remove,
transform_anchor_x,
transform_anchor_y,
visible,
x,
y
|
__init__
(Constructor)
__init__(self,
start,
end,
color,
stroke_width=1)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
- Overrides:
-
Canvas.__init__