Table of Contents

Constructor PaintEventArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

PaintEventArgs(Graphics, RectD)

Initializes a new instance of the PaintEventArgs class.

public PaintEventArgs(Graphics canvas, RectD clipRect)

Parameters

canvas Graphics

Graphics used to paint.

clipRect RectD

The RectD that represents the rectangle in which to paint.

PaintEventArgs(Func<Graphics>, RectD)

Initializes a new instance of the PaintEventArgs class.

public PaintEventArgs(Func<Graphics> canvasFunc, RectD clipRect)

Parameters

canvasFunc Func<Graphics>

The function which returns Graphics used to paint.

clipRect RectD

The RectD that represents the rectangle in which to paint.