示例#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);
 }