mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Added AnimatableEx.UWP.cs
This commit is contained in:
parent
58ba1328c6
commit
c787782411
|
|
@ -3,18 +3,12 @@
|
||||||
// Licensed under the Microsoft Public License (Ms-PL)
|
// Licensed under the Microsoft Public License (Ms-PL)
|
||||||
|
|
||||||
using Windows.UI.Xaml;
|
using Windows.UI.Xaml;
|
||||||
using Windows.UI.Xaml.Media;
|
|
||||||
using Windows.UI.Xaml.Media.Animation;
|
using Windows.UI.Xaml.Media.Animation;
|
||||||
|
|
||||||
namespace MapControl
|
namespace MapControl
|
||||||
{
|
{
|
||||||
internal static class Extensions
|
internal static class AnimatableEx
|
||||||
{
|
{
|
||||||
public static Point Transform(this GeneralTransform transform, Point point)
|
|
||||||
{
|
|
||||||
return transform.TransformPoint(point);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void BeginAnimation(this DependencyObject obj, DependencyProperty property, Timeline animation)
|
public static void BeginAnimation(this DependencyObject obj, DependencyProperty property, Timeline animation)
|
||||||
{
|
{
|
||||||
if (animation != null)
|
if (animation != null)
|
||||||
|
|
@ -182,7 +182,7 @@
|
||||||
<Compile Include="..\Shared\WorldMercatorProjection.cs">
|
<Compile Include="..\Shared\WorldMercatorProjection.cs">
|
||||||
<Link>WorldMercatorProjection.cs</Link>
|
<Link>WorldMercatorProjection.cs</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Extensions.UWP.cs" />
|
<Compile Include="AnimatableEx.UWP.cs" />
|
||||||
<Compile Include="ImageCache.UWP.cs" />
|
<Compile Include="ImageCache.UWP.cs" />
|
||||||
<Compile Include="ImageFileCache.UWP.cs" />
|
<Compile Include="ImageFileCache.UWP.cs" />
|
||||||
<Compile Include="Map.UWP.cs" />
|
<Compile Include="Map.UWP.cs" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue