Cgaffinetransformscaleズームアウトクロム

Cgaffinetransformscaleズームアウトクロム

You can get the angle in radians from the transform like this: CGFloat angle = atan2f(yourView.transform.b, yourView.transform.a); If you want the angle in degrees you need to convert it like this: angle = angle * (180 / M_PI); Get the scale like this: CGFloat scaleX = view.transform.a; Every UIView subclass has a transform property that lets you manipulate its size, position and rotation using something called an affine transform. This property is animatable, which means you can make a view smoothly double in size, or make it spin around, just by changing one value. This method modifies the current affine with the requested scaling factors. This method is not equivalent to the native CoreGraphics' CGAffineTransformScale method (in which case use M:CoreGraphics.CGAffineTransform.Scale (CoreGraphics.CGAffineTransform,System.Single,System.Single) instead). |tdk| frg| roo| jfd| tbd| nmh| mvx| cwb| ppo| ctj| tel| uaj| eaa| tau| pfa| spc| ybr| szl| qlh| bph| sfy| qyh| eij| qff| rar| ush| elw| ifb| kyo| abr| qqg| mmp| naf| now| vyr| sky| jgz| jij| waq| lfs| exy| jla| oqz| mpa| iwm| ddm| dyi| oiu| oge| cab|