CGAffineTransform.Scale 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 |
|---|---|
| Scale(NFloat, NFloat) | |
| Scale(CGAffineTransform, NFloat, NFloat) | |
| Scale(NFloat, NFloat, MatrixOrder) |
Scale(NFloat, NFloat)
[Foundation.Advice("By default, the new operation is applied after the old operation: t' = t * [ sx 0 0 sy 0 0 ].\nTo have the same behavior as the native Swift API, pass 'MatrixOrder.Prepend' to 'Scale (nfloat, nfloat, MatrixOrder)'.")]
public void Scale(System.Runtime.InteropServices.NFloat sx, System.Runtime.InteropServices.NFloat sy);
[<Foundation.Advice("By default, the new operation is applied after the old operation: t' = t * [ sx 0 0 sy 0 0 ].\nTo have the same behavior as the native Swift API, pass 'MatrixOrder.Prepend' to 'Scale (nfloat, nfloat, MatrixOrder)'.")>]
member this.Scale : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit
Parameters
- sx
- NFloat
- sy
- NFloat
- Attributes
Applies to
Scale(CGAffineTransform, NFloat, NFloat)
public static CoreGraphics.CGAffineTransform Scale(CoreGraphics.CGAffineTransform transform, System.Runtime.InteropServices.NFloat sx, System.Runtime.InteropServices.NFloat sy);
static member Scale : CoreGraphics.CGAffineTransform * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> CoreGraphics.CGAffineTransform
Parameters
- transform
- CGAffineTransform
- sx
- NFloat
- sy
- NFloat
Returns
Applies to
Scale(NFloat, NFloat, MatrixOrder)
public void Scale(System.Runtime.InteropServices.NFloat sx, System.Runtime.InteropServices.NFloat sy, CoreGraphics.MatrixOrder order);
member this.Scale : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * CoreGraphics.MatrixOrder -> unit
Parameters
- sx
- NFloat
- sy
- NFloat
- order
- MatrixOrder