CGAffineTransform.Rotate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Rotate(NFloat) | |
| Rotate(CGAffineTransform, NFloat) | |
| Rotate(NFloat, MatrixOrder) |
Rotate(NFloat)
[Foundation.Advice("By default, the new operation is applied after the old operation: t' = t * [ cos(angle) sin(angle) -sin(angle) cos(angle) 0 0 ].\nTo have the same behavior as the native Swift API, pass 'MatrixOrder.Prepend' to 'Rotate (nfloat, MatrixOrder)'.")]
public void Rotate(System.Runtime.InteropServices.NFloat angle);
[<Foundation.Advice("By default, the new operation is applied after the old operation: t' = t * [ cos(angle) sin(angle) -sin(angle) cos(angle) 0 0 ].\nTo have the same behavior as the native Swift API, pass 'MatrixOrder.Prepend' to 'Rotate (nfloat, MatrixOrder)'.")>]
member this.Rotate : System.Runtime.InteropServices.NFloat -> unit
Parameters
- angle
- NFloat
- Attributes
Applies to
Rotate(CGAffineTransform, NFloat)
public static CoreGraphics.CGAffineTransform Rotate(CoreGraphics.CGAffineTransform transform, System.Runtime.InteropServices.NFloat angle);
static member Rotate : CoreGraphics.CGAffineTransform * System.Runtime.InteropServices.NFloat -> CoreGraphics.CGAffineTransform
Parameters
- transform
- CGAffineTransform
- angle
- NFloat
Returns
Applies to
Rotate(NFloat, MatrixOrder)
public void Rotate(System.Runtime.InteropServices.NFloat angle, CoreGraphics.MatrixOrder order);
member this.Rotate : System.Runtime.InteropServices.NFloat * CoreGraphics.MatrixOrder -> unit
Parameters
- angle
- NFloat
- order
- MatrixOrder