@Mells I think that internally after creating font, it gets cached, for faster rendering and reusing same font, if it was defined in the same way somewhere else in the code, etc.
While it might be possible to provide those setters, in most cases internally it will create a new object, which should have a new instance reference then this instance. But since someone might still be using previous settings, we need both references, and in the end we don't know which reference is stored as instance in this variable.
Well short answer most probably it is possible, but will quite complicate the code. And as we know performance and clean code freak Atilim, this most probably will not happen
Comments
While it might be possible to provide those setters, in most cases internally it will create a new object, which should have a new instance reference then this instance. But since someone might still be using previous settings, we need both references, and in the end we don't know which reference is stored as instance in this variable.
Well short answer most probably it is possible, but will quite complicate the code. And as we know performance and clean code freak Atilim, this most probably will not happen
I see, then I'll find another way