/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) { if (wand == null) { return; } foreach (string extension in _FontExtensions) { if (Family.EndsWith(extension, StringComparison.OrdinalIgnoreCase)) { wand.Font(Family); return; } } wand.FontFamily(Family, Style, Weight, Stretch); }