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

SetRotationBy() public method

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

Usage Example

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