PDA

View Full Version : Nested fonts and colors in a single Draw()


ctrlbrk
05-09-2009, 11:36 PM
Is there a way to nest more than one font or color in a single draw statement?

Mike

NinjaTrader_Josh
05-11-2009, 07:56 AM
ctrlbrk,

Unfortunately not.

marketmasher
05-11-2009, 11:03 AM
Not sure if this is what you mean - but can't you just create a flag variable and use (flag == true ? Color.White : Color.Black) where the color parameter is in the Draw? And same for the font?