Пример #1
0
        public static UIFont FromDescriptor(UIFontDescriptor descriptor, nfloat pointSize)
        {
            var ptr = _FromDescriptor(descriptor, pointSize);

            return(ptr == IntPtr.Zero ? null : new UIFont(ptr));
        }
Пример #2
0
 public static UIFont FromDescriptor(UIFontDescriptor descriptor, nfloat pointSize)
 {
     var ptr = _FromDescriptor (descriptor, pointSize);
     return ptr == IntPtr.Zero ? null : new UIFont (ptr);
 }