On Friday, 2 October 2015 at 01:20:50 UTC, Adam D. Ruppe wrote:
On Thursday, 1 October 2015 at 19:15:39 UTC, Robin wrote:
[...]
Those describe simple class members, so you can set them
through assignment:
Text CurrentFps = new Text(dejavu);
// change to white on black
CurrentFps.foreground = Color4b.White;
CurrentFps.background = Color4b.Black;
// change mode
CurrentFps.mode = Font.Mode.Shaded;
I haven't actually used this library, but since the doc
describes it with variable syntax (`Color4b foreground;`) that
means you should be able to just assign to them like ordinary
object member variables.
Wow, thank you so much. I have never seen code like that before
but the documentation there made me scratch my head.
Thank you.