PurplePen.RectangleSelectMode.HitTestDraggable C# (CSharp) Method

HitTestDraggable() private method

private HitTestDraggable ( PointF location, float pixelSize ) : bool
location PointF
pixelSize float
return bool
        bool HitTestDraggable(PointF location, float pixelSize)
        {
            if (allowDrag && selectingCourseObj.DistanceFromPoint(location) < pixelSize * 3)
                return true;
            else
                return false;
        }