public void DrawRect (float x, float y, float width, float height, float w) { WriteLine("<rect x=\"{0}\" y=\"{1}\" width=\"{2}\" height=\"{3}\" stroke=\"{4}\" stroke-opacity=\"{5}\" stroke-width=\"{6}\" fill=\"none\" />", x, y, width, height, _lastColor, _lastColorOp, w); }