Game Thread Questions

How would I draw this for my game. The blue is supposed to be physics bodies. Normal Black background. I was thinking Something like…

function setup()
    e1=physics.body(EDGE,vec2(0,0),vec2(0,HEIGHT))
    e2=physics.body(EDGE,vec2(0,HEIGHT),vec2(WIDTH,HEIGHT))
    e3=physics.body(EDGE,vec2(WIDTH,HEIGHT),vec2(WIDTH,0))
end

function draw()
    background(0,0,0,255)
end

I don’t want the bottom and top physics.body to be the full width of the screen I want a gap as seen in the picture.
http://m.imgur.com/Th6dK5E
P.S Sorry for Upside Down Picture

Any Help Appreciated,
Griffin

Bump for Help

Draw the physics bodies along the join between the blue and black areas

Here’s a version that uses CHAIN.


--# Main

supportedOrientations(LANDSCAPE_ANY)
displayMode(FULLSCREEN)

function setup()
    p=physics.body(CHAIN,false,vec2(400,HEIGHT),vec2(400,HEIGHT-50),
        vec2(50,HEIGHT-50),vec2(50,50),vec2(400,50),vec2(400,0))
end

function draw()
    background(0)
    fill(0,0,255)
    rect(0,HEIGHT-50,400,HEIGHT-50)
    rect(0,0,50,HEIGHT)
    rect(0,0,400,50)
end