Table of Contents

Interface IRectDrawingContext

Namespace
Xui.Core.Canvas
Assembly
Core.dll

Provides convenience methods for drawing filled and stroked rectangles, similar to the fillRect() and strokeRect() functions in the HTML5 Canvas API.

public interface IRectDrawingContext

Methods

FillRect(Rect)

Fills the specified rectangle using the current fill style.

void FillRect(Rect rect)

Parameters

rect Rect

The rectangle to fill.

StrokeRect(Rect)

Draws the outline of the specified rectangle using the current stroke style.

void StrokeRect(Rect rect)

Parameters

rect Rect

The rectangle to stroke.