The Draw2d API Specification