/// <summary>Draws the outline of path you created, and doesn't reset the path, using the stroke style.</summary> public void stroke() { if (Clip_) { // Clip the path first. Clip_ = false; // Clip with a 50px safety zone on all sides for strokes. Path.Clip(-50f, -50f, ImageData.Width + 50f, ImageData.Height + 50f); } // For each line.. DynamicTexture img = ImageData_; VectorPoint node = Path.FirstPathNode; // For each one.. while (node != null) { // Render it as a line (if it has one; checks internally): if (node.HasLine) { // Render the line from the next nodes point of view: node.RenderLine(this); } // Hop to the next one: node = node.Next; } // Request a paint: img.RequestPaint(); }