That doesn't look like a PDF statement - that looks like an SVG statement. So no idea where you found that!
A PDF path would be in a content stream and look like:
10 10 m
20 20 l
f
If you don't wish to read the PDF Reference, a good book on PDF is my "Developed with PDF" at http://shop.oreilly.com/product/0636920025269.do
As mentioned, in the SDK there are APIs for plugins called the PDEdit APIs that will give you the information you require. And there are examples.