示例#1
0
        public void RemoveTypeface(SKTextRunLookupEntry entry)
        {
            if (entry == null)
            {
                throw new ArgumentNullException(nameof(entry));
            }

            if (entries.Contains(entry))
            {
                entries.Remove(entry);
            }
        }
 public static Stream GetFontStream() => SKTextRunLookupEntry.GetManifestFontStream(typeof(IonIcons), ManifestResourceName);
 public static SKTypeface GetTypeface() => SKTextRunLookupEntry.GetManifestTypeface(typeof(IonIcons), ManifestResourceName);
示例#4
0
 public void AddTypeface(SKTextRunLookupEntry entry)
 {
     entries.Add(entry);
 }
示例#5
0
 public static SKTypeface GetTypeface() => SKTextRunLookupEntry.GetManifestTypeface(typeof(FontAwesome), ManifestResourceName);