/// <summary> Fills and strokes the current path.</summary> public virtual void FillAndStroke() { Path p = path.createPath(); FilledPath shape = new FilledPath(p); shape.FillRule = state.fillRule; state.scene.add(createNode(shape, state.fillColor, state.fillBrush)); StrokedPath r2 = new StrokedPath(p); r2.LineWidth = state.lineWidth; r2.EndCap = state.lineCap; r2.LineJoin = state.lineJoin; r2.MiterLimit = state.miterLimit; state.scene.add(createNode(r2, state.strokeColor, state.strokeBrush)); path = new PathBuilder(); }
public Tesselator(Path path) { this.path = path; }
/// <summary> /// Constructs a filled path using the given path. /// </summary> /// <param name="path">the path to be filled. /// </param> public FilledPath(Path path) { this.path = path; }
/// <summary> /// Creates a StrokedPath object with the given path. /// </summary> /// <param name="path">the path to be stroked. /// </param> public StrokedPath(Path path) { this.path = path; }