/// <summary>
/// A two-dimensional size.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class Size2D : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
{
return new Size2D((int)vector2.X, (int)vector2.Y);
}
-
- /// <summary>
- /// The type cast operator, Size2D to Uint16Pair.
- /// </summary>
- /// <param name="size2d">An object of the Size2D type.</param>
- /// <returns>return a Uint16Pair instance</returns>
- /// <since_tizen> 4 </since_tizen>
- public static implicit operator Uint16Pair(Size2D size2d)
- {
- return new Uint16Pair((uint)size2d.Width, (uint)size2d.Height);
- }
-
- /// <summary>
- /// The type cast operator, Uint16Pair to Size2D type.
- /// </summary>
- /// <param name="pair">An object of the Vector2 type.</param>
- /// <returns>return a Size2D instance</returns>
- /// <since_tizen> 4 </since_tizen>
- public static implicit operator Size2D(Uint16Pair pair)
- {
- return new Size2D((int)pair.GetWidth(), (int)pair.GetWidth());
- }
-
-
}
}