MindFusion.Java Package Programmer's Guide
RenderCallback(T).render Method
See Also
 






Called to render a node's icon using Graphics2D API.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

boolean render (
    T item,
    Graphics2D graphics,
    Rectangle2D bounds
)

 Parameters

item

The diagram item that invokes the callback.

graphics

A Graphics2D object representing the drawing canvas.

bounds

The icon's bounding rectangle.

 Return Value

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

 See Also

RenderCallback(T) Members
RenderCallback(T) Interface
com.mindfusion.diagramming Namespace