[]
        
(Showing Draft Content)

FarPoint.Win.FpSlider.IsPointInKnob

IsPointInKnob Method

IsPointInKnob(int, int, Rectangle, int, SliderOrientation, int, int, int, int, int)

Determines whether the point is in the knob of the slider.

Declaration
public static bool IsPointInKnob(int x, int y, Rectangle r, int value, SliderOrientation orientation, int minimum, int maximum, int knobWidth, int trackWidth, int tickLength)
Public Shared Function IsPointInKnob(x As Integer, y As Integer, r As Rectangle, value As Integer, orientation As SliderOrientation, minimum As Integer, maximum As Integer, knobWidth As Integer, trackWidth As Integer, tickLength As Integer) As Boolean
Parameters
Type Name Description
int x

X-coordinate of point

int y

Y-coordinate of point

Rectangle r

Image rectangle

int value

Value

SliderOrientation orientation

Orientation of slider

int minimum

Minimum value

int maximum

Maximum value

int knobWidth

Width of slider knob

int trackWidth

Width of slider track

int tickLength

Width of slider ticks

Returns
Type Description
bool

true if the point is in the knob of the slider;otherwise false