Exemplo n.º 1
0
        public void RemoveTypeface(SKTextRunLookupEntry entry)
        {
            if (entry == null)
            {
                throw new ArgumentNullException(nameof(entry));
            }

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