'Declaration
Public Shared Function IsPointInKnob( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Rectangle, _
ByVal As Integer, _
ByVal As SliderOrientation, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
) As Boolean
'使用法
Dim x As Integer
Dim y As Integer
Dim r As Rectangle
Dim value As Integer
Dim orientation As SliderOrientation
Dim minimum As Integer
Dim maximum As Integer
Dim knobWidth As Integer
Dim trackWidth As Integer
Dim tickLength As Integer
Dim value As Boolean
value = FpSlider.IsPointInKnob(x, y, r, value, orientation, minimum, maximum, knobWidth, trackWidth, tickLength)
public static bool IsPointInKnob(
int ,
int ,
Rectangle ,
int ,
SliderOrientation ,
int ,
int ,
int ,
int ,
int
)
パラメータ
- x
- ポイントのX座標
- y
- ポイントのY座標
- r
- 画像矩形
- value
- 値
- orientation
- スライダの向き
- minimum
- 最小値
- maximum
- 最大値
- knobWidth
- スライダのつまみの幅
- trackWidth
- スライダのトラックの幅
- tickLength
- スライダーの目盛の幅
戻り値の型
ポイントがスライダのつまみ内にある場合はTrue、それ以外の場合はFalse