forked from oxyplot/oxyplot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHitTestArguments.cs
More file actions
38 lines (35 loc) · 1.24 KB
/
HitTestArguments.cs
File metadata and controls
38 lines (35 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HitTestArguments.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Represents arguments for the hit test.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace OxyPlot
{
/// <summary>
/// Represents arguments for the hit test.
/// </summary>
public class HitTestArguments
{
/// <summary>
/// Initializes a new instance of the <see cref="HitTestArguments"/> class.
/// </summary>
/// <param name="point">The point.</param>
/// <param name="tolerance">The tolerance.</param>
public HitTestArguments(ScreenPoint point, double tolerance)
{
this.Point = point;
this.Tolerance = tolerance;
}
/// <summary>
/// Gets the point to hit test.
/// </summary>
public ScreenPoint Point { get; private set; }
/// <summary>
/// Gets the hit test tolerance.
/// </summary>
public double Tolerance { get; private set; }
}
}