public void Create(FontFamily family, float size, FontStyle style, FontDecoration decoration) { this.family = family; var familyHandler = (FontFamilyHandler)family.Handler; Control = new sd.Font(familyHandler.Control, size, style.ToSD() | decoration.ToSD()); }
public void Create(FontFamily family, float size, FontStyle style) { this.family = family; var familyHandler = (FontFamilyHandler)family.Handler; Control = new SD.Font(familyHandler.Control, size, style.ToSD()); }