Esempio n. 1
0
        /// <inheritdoc/>
        public override bool Equals(object other)
        {
            if (!(other is Rect2))
            {
                return(false);
            }

            Rect2 rect = (Rect2)other;

            if (x.Equals(rect.x) && y.Equals(rect.y) && width.Equals(rect.width) && height.Equals(rect.height))
            {
                return(true);
            }

            return(false);
        }
Esempio n. 2
0
 private static extern void Internal_SetViewportRect(IntPtr instance, ref Rect2 value);
Esempio n. 3
0
 private static extern void Internal_getArea(IntPtr thisPtr, out Rect2 __output);
Esempio n. 4
0
 private static extern void Internal_setArea(IntPtr thisPtr, ref Rect2 area);
Esempio n. 5
0
 private static extern void Internal_SetViewportRect(IntPtr instance, ref Rect2 value);