1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00

45 lines
1.3 KiB
C
Raw Normal View History

/*****************************************************************************
* CornerRadius.h *
* *
* System::Windows::CornerRadius definition file *
* Copyright (c) XFX Team. All rights reserved *
*****************************************************************************/
#ifndef _SYSTEM_WINDOWS_CORNERRADIUS_
#define _SYSTEM_WINDOWS_CORNERRADIUS_
#include <System/Interfaces.h>
namespace System
{
namespace Windows
{
/**
* Describes the characteristics of a rounded corner, such as can be applied to a System::Windows::Controls::Border.
*/
struct CornerRadius : IEquatable<CornerRadius>, Object
{
public:
int BottomLeft;
int BottomRight;
int TopLeft;
int TopRight;
CornerRadius();
CornerRadius(const int uniformValue);
CornerRadius(const int bottomLeft, const int bottomRight, const int topLeft, const int topRight);
CornerRadius(const CornerRadius &obj);
bool Equals(Object const * const obj) const;
bool Equals(const CornerRadius other) const;
int GetHashCode() const;
static const Type& GetType();
2013-07-11 20:00:07 +02:00
const String ToString() const;
bool operator==(const CornerRadius& right) const;
bool operator!=(const CornerRadius& right) const;
};
}
}
#endif //_SYSTEM_WINDOWS_CORNERRADIUS_