SFML community forums
Bindings - other languages => D => Topic started by: RobotGymnast on January 30, 2011, 09:16:37 pm
-
How does one set the color of text?
-
How does one set the color of text?
textName.SetColor( Color(255,200,20,255) );
-
The D wrapper uses proper D properties style, i.e. text.color = Color(255,.....);
-
Ah, sorry. The reason it wasn't working for me was because of a name conflict I'd created, not because the .color property wasn't working. Thanks
-
May i know? for which language you are asking?
Cegonsoft (http://www.i3itpeople.com/)
_________________________
Cegonsoft foundation (http://www.i3itpeople.com/)