Constructor PaintEventArgs
PaintEventArgs(Graphics, RectD)
Initializes a new instance of the PaintEventArgs class.
public PaintEventArgs(Graphics canvas, RectD rect)
Parameters
canvasGraphicsThe Graphics object representing the drawing surface.
rectRectDThe 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
canvasFuncFunc<Graphics>The function which returns Graphics used to paint.
rectRectDThe 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
canvasGraphicsGraphics used to paint.
clipRectRectDThe RectD that represents the invalidated rectangle. See ClipRectangle property description.
clientRectRectDThe 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)