Function CommandBuilder2D.PushColor

PushColor (Color color)

Draws everything until the next PopColor with the given color.

Public
void PushColor (

Color

color

)

Draws everything until the next PopColor with the given color.

Any command that is passed an explicit color parameter will override this color. If another color scope is nested inside this one then that scope will override this color.