A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
683 B

// -----------------------------------------------------------------------
// <copyright file="RawSizeEventArgs.cs" company="Steven Kirk">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Input.Raw
{
using System;
public class RawSizeEventArgs : EventArgs
{
public RawSizeEventArgs(Size size)
{
this.Size = size;
}
public RawSizeEventArgs(double width, double height)
{
this.Size = new Size(width, height);
}
public Size Size { get; private set; }
}
}