Reign.Video.Font.Draw C# (CSharp) Méthode

Draw() public méthode

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
Résultat 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);
            }
        }