예제 #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);
 }