/// <summary> /// Initializes a new instance of a FontTypeface class with the specified handler /// </summary> /// <remarks> /// This allows the platform handlers to create instances of the FontTypeface class /// with a specific handler. It should not be called by user code. /// </remarks> /// <param name="family">Family this typeface is part of</param> /// <param name="handler">Handler to use for this typeface instance</param> public FontTypeface (FontFamily family, IFontTypeface handler) : base(family.Generator, handler) { this.Family = family; }
/// <summary> /// Initializes a new instance of a FontTypeface class with the specified handler /// </summary> /// <remarks> /// This allows the platform handlers to create instances of the FontTypeface class /// with a specific handler. It should not be called by user code. /// </remarks> /// <param name="family">Family this typeface is part of</param> /// <param name="handler">Handler to use for this typeface instance</param> public FontTypeface(FontFamily family, IFontTypeface handler) : base(family.Generator, handler) { this.Family = family; }