XAML-Map-Control/MapControl/Shared/ViewRect.cs

28 lines
762 B
C#
Raw Normal View History

2021-01-13 21:19:27 +01:00
// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control
2022-01-14 20:22:56 +01:00
// © 2022 Clemens Fischer
2020-09-01 07:34:28 +02:00
// Licensed under the Microsoft Public License (Ms-PL)
namespace MapControl
{
/// <summary>
/// Rotated rectangle used to arrange and rotate an element with a BoundingBox.
/// </summary>
2022-12-01 22:48:08 +01:00
public class ViewRect
2020-09-01 07:34:28 +02:00
{
public ViewRect(double x, double y, double width, double height, double rotation)
{
X = x;
Y = y;
Width = width;
Height = height;
Rotation = rotation;
}
2021-11-13 00:28:36 +01:00
public double X { get; }
public double Y { get; }
public double Width { get; }
public double Height { get; }
public double Rotation { get; }
2020-09-01 07:34:28 +02:00
}
}