Drawing an irregular plane

I found it out allready in the chapter enn0x gave me. Alltough the manual is very confusing at times. But eventualy I found it out, and even mapped a texture onto it. I made a class for it that does something like LineSegs does for lines, but it actualy makes a plane of any shape.