class SFMLDebugDraw
- SFMLDebugDraw
- CP::Space::DebugDraw
- Reference
- Object
Defined in:
chipmunk_crsfml.crConstructors
Instance Method Summary
-
#draw_circle(pos : CP::Vect, angle : Float64, radius : Float64, outline_color : Color, fill_color : Color)
Draw a filled, stroked circle.
-
#draw_dot(size : Float64, pos : CP::Vect, color : Color)
Draw a dot.
-
#draw_fat_segment(a : CP::Vect, b : CP::Vect, radius : Float64, outline_color : Color, fill_color : Color)
Draw a thick line segment.
-
#draw_polygon(verts : Slice(CP::Vect), radius : Float64, outline_color : Color, fill_color : Color)
Draw a convex polygon.
-
#draw_segment(a : CP::Vect, b : CP::Vect, color : Color)
Draw a line segment.
- #states : SF::RenderStates
- #states=(states : SF::RenderStates)
- #update
Instance methods inherited from class CP::Space::DebugDraw
color_for_shape(shape : Shape) : Color
color_for_shape,
draw(space : Space)
draw,
draw_circle(pos : Vect, angle : Float64, radius : Float64, outline_color : Color, fill_color : Color)
draw_circle,
draw_dot(size : Float64, pos : Vect, color : Color)
draw_dot,
draw_fat_segment(a : Vect, b : Vect, radius : Float64, outline_color : Color, fill_color : Color)
draw_fat_segment,
draw_polygon(verts : Slice(Vect), radius : Float64, outline_color : Color, fill_color : Color)
draw_polygon,
draw_segment(a : Vect, b : Vect, color : Color)
draw_segment,
flags : Flags
flags,
flags=(flags : Flags)
flags=
Constructor methods inherited from class CP::Space::DebugDraw
new(flags : CP::Space::DebugDraw::Flags = Flags::All)
new
Class methods inherited from class CP::Space::DebugDraw
color_for_hash(hash : Int, intensity : Number) : Color
color_for_hash
Constructor Detail
Instance Method Detail
def draw_circle(pos : CP::Vect, angle : Float64, radius : Float64, outline_color : Color, fill_color : Color)
#
Description copied from class CP::Space::DebugDraw
Draw a filled, stroked circle.
Description copied from class CP::Space::DebugDraw
Draw a dot.
def draw_fat_segment(a : CP::Vect, b : CP::Vect, radius : Float64, outline_color : Color, fill_color : Color)
#
Description copied from class CP::Space::DebugDraw
Draw a thick line segment.
def draw_polygon(verts : Slice(CP::Vect), radius : Float64, outline_color : Color, fill_color : Color)
#
Description copied from class CP::Space::DebugDraw
Draw a convex polygon.
Description copied from class CP::Space::DebugDraw
Draw a line segment.