Static methods

staticlog(world:World):Void

Variables

Methods

@:value({ clear_canvas : true })draw(world:World, clear_canvas:Bool = true):Void

@:value({ draw_lines : true, draw_segment_markers : false, draw_control_points : false })draw_bezier(bezier:Bezier, draw_control_points:Bool = false, draw_segment_markers:Bool = false, draw_lines:Bool = true):Void

@:value({ alpha : 1 })draw_circle(x:Float, y:Float, radius:Float, color:Int, ?stroke:Int, alpha:Float = 1):Void

@:value({ draw_normal : true, draw_overlap : true })draw_intersection(intersection:Intersection, draw_overlap:Bool = true, draw_normal:Bool = true):Void

@:value({ draw_normal : true, draw_overlap : true })draw_intersection_data(data:IntersectionData, draw_overlap:Bool = true, draw_normal:Bool = true):Void

@:value({ alpha : 1 })draw_line(from_x:Float, from_y:Float, to_x:Float, to_y:Float, color:Int, alpha:Float = 1):Void

@:value({ alpha : 1 })draw_polygon(count:Int, vertices:Array<Vector2>, color:Int, ?stroke:Int, alpha:Float = 1):Void

@:value({ alpha : 1 })draw_rect(min_x:Float, min_y:Float, width:Float, height:Float, color:Int, ?stroke:Int, alpha:Float = 1):Void

@:value({ draw_constraints : true, draw_dots : true })draw_verlet(verlet:Verlet, draw_dots:Bool = true, draw_constraints:Bool = true):Void