It seems it is not supported for DynamicTexture. See How add backgroud color to DynamicTexture - #3 by Dieterich for eg.
My take is that DynamicTexture is not specifically geared toward texts (it simply is a wrapper around a 2D context), so there’s no helper functions for that in the class, contrary to the text control of the GUI that can do a number of things with texts.