private void EhFontStyle_SelectionChangeCommitted(object sender, EventArgs e) { if (FontX != null) { FontX = FontX.WithStyle(_cbFontStyle.SelectedFontStyle); OnSelectedFontChanged(); } }
public FontX3D WithStyle(FontXStyle style) { return(new FontX3D(_font.WithStyle(style), _depth)); }