PhotoViewerTest.Droid.PhotoViewDroidAttacher.SetRotationTo C# (CSharp) Method

SetRotationTo() public method

public SetRotationTo ( float degrees ) : void
degrees float
return void
        public void SetRotationTo(float degrees)
        {
            mSuppMatrix.SetRotate(degrees % 360);
            CheckAndDisplayMatrix();
        }

Usage Example

Example #1
0
 public void SetRotationTo(float rotationDegree)
 {
     mAttacher.SetRotationTo(rotationDegree);
 }