Reign.Video.Font.Draw C# (CSharp) Method

Draw() public method

public Draw ( string text, Vector2 position, Vector4 color, float size, bool centeredX, bool centeredY ) : void
text string
position Vector2
color Vector4
size float
centeredX bool
centeredY bool
return void
        public void Draw(string text, Vector2 position, Vector4 color, float size, bool centeredX, bool centeredY)
        {
            if (instancing)
            {

            }
            else
            {
                draw(text, texture.SizeF, position, color, size, centeredX, centeredY);
            }
        }