SKMatrix.MapVector 方法

定義

多載

名稱 Description
MapVector(SKPoint)

利用此矩陣轉換向量,忽略平移。

MapVector(Single, Single)

將矩陣應用於向量,忽略平移。

MapVector(SKPoint)

利用此矩陣轉換向量,忽略平移。

public readonly SkiaSharp.SKPoint MapVector(SkiaSharp.SKPoint vector);

參數

vector
SKPoint

變換向量。

傳回

回傳轉換後的向量。

備註

映射向量會忽略矩陣中的平移成分。 請考慮 MapPoint(SKPoint) 翻譯內容。

適用於

MapVector(Single, Single)

將矩陣應用於向量,忽略平移。

public readonly SkiaSharp.SKPoint MapVector(float x, float y);

參數

x
Single

這是向量的 x 分量。

y
Single

向量的 y 分量。

傳回

回傳映射點。

備註

映射向量會忽略矩陣中的平移成分。 請考慮 MapPoint(SKPoint) 翻譯內容。

適用於