Relative.DrawInfo.drawText C# (CSharp) Method

drawText() public method

public drawText ( String text, Vec pos ) : void
text String
pos Vec
return void
        public void drawText(String text, Vec pos)
        {
            mGraphics.DrawString(text,
                new Font("Arial", 16),
                new SolidBrush(Color.Black),
                new PointF(
                    (float)(mWidth + pos.mX),
                    (float)(mHeight + pos.mY)));
        }