In This Topic
Determines whether the point is in the knob of the slider.
Syntax
'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
'Usage
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
)
Parameters
- x
- X-coordinate of point
- y
- Y-coordinate of point
- r
- Image rectangle
- value
- Value
- orientation
- Orientation of slider
- minimum
- Minimum value
- maximum
- Maximum value
- knobWidth
- Width of slider knob
- trackWidth
- Width of slider track
- tickLength
- Width of slider ticks
See Also