Correct olx.style.RegularShapeOptions definition

Either radius or radius1 needs to be provided. Radius2 is optional, as well as angle.