Beispiel #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);
        }
Beispiel #2
0
 private static extern void Internal_SetViewportRect(IntPtr instance, ref Rect2 value);
Beispiel #3
0
 private static extern void Internal_getArea(IntPtr thisPtr, out Rect2 __output);
Beispiel #4
0
 private static extern void Internal_setArea(IntPtr thisPtr, ref Rect2 area);
Beispiel #5
0
 private static extern void Internal_SetViewportRect(IntPtr instance, ref Rect2 value);