Table of Contents

Interface IPathDrawing

Namespace
Xui.Core.Canvas
Assembly
Core.dll

Defines methods for drawing a constructed path, following the HTML5 Canvas path API model.

Reference: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D#paths

public interface IPathDrawing

Methods

Fill(FillRule)

Fills the current path using the specified fill rule.

void Fill(FillRule rule = FillRule.NonZero)

Parameters

rule FillRule

The fill rule to use (NonZero or EvenOdd).

Stroke()

Strokes the current path using the current stroke style.

void Stroke()