Nez.Portable/UI/Base/Element.cs
/// <summary>
/// Adds the specified rotation to the current rotation
/// </summary>
/// <param name="amountInDegrees">Amount in degrees.</param>
Adds the specified rotation to the current rotation
Adds the specified rotation to the current rotation
public void rotateBy(float amountInDegrees)
        {
            if (amountInDegrees != 0)
            {
                rotation += amountInDegrees;
                rotationChanged();
            }
        }
public void rotateBy ( float amountInDegrees ) { if ( amountInDegrees != 0 ) { rotation += amountInDegrees ; rotationChanged ( ) ; } }
Adds the specified rotation to the current rotation
Adds the specified rotation to the current rotation
amountInDegrees
float
Amount in degrees.
Amount in degrees .