mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-04 00:35:46 +08:00
23 lines
527 B
C#
23 lines
527 B
C#
using Windows.Foundation;
|
|
|
|
namespace LiveCharts.Uwp.Points
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public static class PointExtensions
|
|
{
|
|
/// <summary>
|
|
/// Offsets the specified x.
|
|
/// </summary>
|
|
/// <param name="point">The point.</param>
|
|
/// <param name="x">The x.</param>
|
|
/// <param name="y">The y.</param>
|
|
public static void Offset(this Point point, double x, double y)
|
|
{
|
|
point.X += x;
|
|
point.Y += y;
|
|
}
|
|
}
|
|
}
|