getRotationReturns the viewer rotation.ExampleUsageconst rotation = viewer2d.getRotation();Return ValueRotation in degrees.TypeNumber