A delegate version of the IPaintable interface.
Namespace: yWorks.Canvas.DrawingAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public delegate void PaintHandler( DrawingContext g, IRenderContext context ) |
| Visual Basic |
|---|
Public Delegate Sub PaintHandler ( _ g As DrawingContext, _ context As IRenderContext _ ) |
Parameters
- g
- Type: System.Windows.Media..::..DrawingContext
- context
- Type: yWorks.Canvas.Drawing..::..IRenderContext
Remarks
The Create(PaintHandler) method can create an IPaintable
implementation that delegates to this type of handler.