public static nint ToNative(UIImageResizingMode value)
        {
            // The values we have in managed code corresponds with the ARM64 values.
            if (!Runtime.IsARM64CallingConvention)
            {
                // Stretch and Tile are switched on x64 on Mac Catalyst
                switch (value)
                {
                case (UIImageResizingMode)0:
                    return(1);

                case (UIImageResizingMode)1:
                    return(0);
                }
            }
            return((nint)(long)value);
        }
Exemple #2
0
 public virtual UIImage ResizableImageWithCapInsets(UIEdgeInsets capInsets, UIImageResizingMode resizingMode)
 {
     return(default(UIImage));
 }
Exemple #3
0
 public static UIImage AnimatedResizableImageNamed(string name, UIEdgeInsets capInsets, UIImageResizingMode resizingMode, NSTimeInterval duration)
 {
     return(default(UIImage));
 }