Praeclarum.Graphics.SvgGraphics.DrawString C# (CSharp) Метод

DrawString() публичный Метод

public DrawString ( string s, float x, float y ) : void
s string
x float
y float
Результат void
		public void DrawString (string s, float x, float y)
		{
			WriteLine("<text x=\"{0}\" y=\"{1}\" fill=\"{2}\" fill-opacity=\"{3}\" font-family=\"sans-serif\" font-size=\"{4}\">{5}</text>",
				x, y + GetFontMetrics ().Height * 0.8f,
				_lastColor, _lastColorOp,
				_lastFont.Size,
				s.Replace("&", "&amp;").Replace("<", "&lt;").Replace(">", "&gt;"));
		}

Same methods

SvgGraphics::DrawString ( string s, float x, float y, float width, float height, LineBreakMode lineBreak, TextAlignment align ) : void