、 などの値の半分を の該当する辺から減算します。
シンタックス
'宣言
Public Shared Function DeflateHalfLine( _
ByVal As System.Windows.Rect, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double _
) As System.Windows.Rect
'使用法
Dim rect As System.Windows.Rect
Dim left As System.Double
Dim top As System.Double
Dim right As System.Double
Dim bottom As System.Double
Dim value As System.Windows.Rect
value = Utils.DeflateHalfLine(rect, left, top, right, bottom)
public static System.Windows.Rect DeflateHalfLine(
System.Windows.Rect ,
System.double ,
System.double ,
System.double ,
System.double
)
パラメータ
- rect
- left
- top
- right
- bottom
参照