A delegate version of the IPaintable interface.

Namespace: yWorks.Canvas.Drawing
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

Syntax

C#
public delegate void PaintHandler(
	Graphics g,
	IRenderContext context
)
Visual Basic
Public Delegate Sub PaintHandler ( _
	g As Graphics, _
	context As IRenderContext _
)

Parameters

g
Type: System.Drawing..::..Graphics
context
Type: yWorks.Canvas.Drawing..::..IRenderContext

Remarks

The Create(PaintHandler) method can create an IPaintable implementation that delegates to this type of handler.

See Also