Share via


CGContext.TranslateCTM(nfloat, nfloat) 方法

定义

更改用户坐标系的原点。

public void TranslateCTM (nfloat tx, nfloat ty);
member this.TranslateCTM : nfloat * nfloat -> unit

参数

tx
nfloat

所需偏移量的 X 平移(以用户空间单位为单位)。

ty
nfloat

所需偏移量的 Y 平移(以用户空间单位为单位)。

适用于