PhotoViewerTest.Droid.PhotoViewDroidAttacher.SetRotationBy C# (CSharp) Méthode

SetRotationBy() public méthode

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

Usage Example

 public void SetRotationBy(float rotationDegree)
 {
     mAttacher.SetRotationBy(rotationDegree);
 }