/// <summary> /// Adds a new text geometry with the given text. /// </summary> internal static GeometryResource AddTextGeometry(this ResourceDictionary resourceDictionary, NamedOrGenericKey resourceKey, string textToAdd) { return(resourceDictionary.AddTextGeometry(resourceKey, textToAdd, TextGeometryOptions.Default)); }
/// <summary> /// Adds a new text geometry with the given text. /// </summary> internal static GeometryResource AddTextGeometry(this ResourceDictionary resourceDiciontary, string textToAdd) { return(resourceDiciontary.AddTextGeometry(textToAdd, TextGeometryOptions.Default)); }