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 rect)

Parameters

canvas Graphics

The Graphics object representing the drawing surface.

rect RectD

The RectD structure that defines both the clipping and client area for the paint operation.

PaintEventArgs(Func<Graphics>, RectD)

Initializes a new instance of the PaintEventArgs class.

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

Parameters

canvasFunc Func<Graphics>

The function which returns Graphics used to paint.

rect RectD

The RectD structure that defines both the clipping and client area for the paint operation.

PaintEventArgs(Graphics, RectD, RectD)

Initializes a new instance of the PaintEventArgs class.

public PaintEventArgs(Graphics canvas, RectD clipRect, RectD clientRect)

Parameters

canvas Graphics

Graphics used to paint.

clipRect RectD

The RectD that represents the invalidated rectangle. See ClipRectangle property description.

clientRect RectD

The RectD that represents the client area of the object.

PaintEventArgs(Func<Graphics>, RectD, RectD)

Initializes a new instance of the PaintEventArgs class.

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

Parameters

canvasFunc Func<Graphics>

The function which returns Graphics used to paint.

clipRect RectD

The RectD that represents the invalidated rectangle. See ClipRectangle property description.

clientRect RectD

The RectD that represents the client area of the object.