IGlobalsDistance メソッド (SByte, SByte, SByte, SByte)

指定した(x1, x2)から(x2, y2)の距離を計算します。

名前空間:  KeyToKey.Plugins
アセンブリ:  KeyToKey.Plugins (in KeyToKey.Plugins.dll) バージョン: 1.0.0.0 (1.0.0.0)
構文
C#
int Distance(
	sbyte x1,
	sbyte y1,
	sbyte x2,
	sbyte y2
)

パラメーター

x1
型: SystemSByte
x1
y1
型: SystemSByte
y1
x2
型: SystemSByte
x2
y2
型: SystemSByte
y2

戻り値

型: Int32
距離
関連項目