Share via


CGAffineTransform.Translate Method

Definition

Overloads

Translate(NFloat, NFloat, MatrixOrder)

public void Translate(System.Runtime.InteropServices.NFloat tx, System.Runtime.InteropServices.NFloat ty, CoreGraphics.MatrixOrder order);
member this.Translate : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * CoreGraphics.MatrixOrder -> unit

Parameters

tx
NFloat
ty
NFloat
order
MatrixOrder

Applies to

Translate(NFloat, NFloat)

[Foundation.Advice("By default, the new operation is applied after the old operation: t' = t * [ 1 0 0 1 tx ty ].\nTo have the same behavior as the native Swift API, pass 'MatrixOrder.Prepend' to 'Translate (nfloat, nfloat, MatrixOrder)'.")]
public void Translate(System.Runtime.InteropServices.NFloat tx, System.Runtime.InteropServices.NFloat ty);
[<Foundation.Advice("By default, the new operation is applied after the old operation: t' = t * [ 1 0 0 1 tx ty ].\nTo have the same behavior as the native Swift API, pass 'MatrixOrder.Prepend' to 'Translate (nfloat, nfloat, MatrixOrder)'.")>]
member this.Translate : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit

Parameters

tx
NFloat
ty
NFloat
Attributes

Applies to

Translate(CGAffineTransform, NFloat, NFloat)

public static CoreGraphics.CGAffineTransform Translate(CoreGraphics.CGAffineTransform transform, System.Runtime.InteropServices.NFloat tx, System.Runtime.InteropServices.NFloat ty);
static member Translate : CoreGraphics.CGAffineTransform * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> CoreGraphics.CGAffineTransform

Parameters

transform
CGAffineTransform
tx
NFloat
ty
NFloat

Returns

Applies to