Search
RenderCallback(T) Delegate
See Also
 





This delegate declares the prototype of drawing callbacks called by various icon Renderers.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public delegate bool RenderCallback<T> (
    T item,
    IGraphics graphics,
    RectangleF bounds
)

Visual Basic  Copy Code

Public Delegate Function RenderCallback(Of T) ( _
    item As T, _
    graphics As IGraphics, _
    bounds As RectangleF _
) As Boolean

 Parameters

item

The diagram item that invokes the callback.

graphics

An IGraphics object representing the drawing canvas.

bounds

The icon's bounding rectangle.

 Return Value

true to prevent standard icon rendering, ot false to apply it.

 See Also