mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 08:46:34 +08:00
项目结构调整
This commit is contained in:
22
Others/Live-Charts-master/UwpView/Points/PointExtensions.cs
Normal file
22
Others/Live-Charts-master/UwpView/Points/PointExtensions.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user