共用方式為


CGAffineTransform(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat) 建構函式

定義

從矩陣值初始化 Affine 轉換。

public CGAffineTransform (nfloat xx, nfloat yx, nfloat xy, nfloat yy, nfloat x0, nfloat y0);
new CoreGraphics.CGAffineTransform : nfloat * nfloat * nfloat * nfloat * nfloat * nfloat -> CoreGraphics.CGAffineTransform

參數

xx
nfloat

xx 元件。

yx
nfloat

yx 元件。

xy
nfloat

xy 元件。

yy
nfloat

yy 元件。

x0
nfloat

X 轉譯元件。

y0
nfloat

y 轉譯元件。

備註

使用下列元件定義 affine 轉換矩陣:

|xx yx 0 |

|xy yy 0 |

|tx ty 1 |

第三個數據行的值一律為 0、0、1,因此只需要提供六個值。

適用於