Duality.Resources.Font.RenderToBitmap C# (CSharp) Method

RenderToBitmap() public method

Renders a text to the specified target Image.
public RenderToBitmap ( string text, Image target, float x = 0.0f, float y = 0.0f ) : void
text string
target Image
x float
y float
return void
        public void RenderToBitmap(string text, Image target, float x = 0.0f, float y = 0.0f)
        {
            this.RenderToBitmap(text, target, x, y, ColorRgba.White);
        }

Same methods

Font::RenderToBitmap ( string text, Image target, float x, float y, ColorRgba clr ) : void
Font::RenderToBitmap ( string text, Duality.Resources.Pixmap target, float x = 0.0f, float y = 0.0f ) : void
Font::RenderToBitmap ( string text, Duality.Resources.Pixmap target, float x, float y, ColorRgba clr ) : void