fixed code formatting
documented new bezier path api