com.yworks.yfiles.bpmn.view
Interface BpmnIconPainter


public interface BpmnIconPainter

Specifies the general contract for rendering BPMN icons in BPMN nodes.

 

Method Summary
 void paint(NodeRealizer context, Graphics2D graphics, Rectangle2D bounds)
          Paints an icon in the specified node geometry.
 

Method Detail

paint

public void paint(NodeRealizer context,
                  Graphics2D graphics,
                  Rectangle2D bounds)
Paints an icon in the specified node geometry.

Parameters:
context - the node geometry.
graphics - the graphics context to paint upon.
bounds - the desired bounds for the icon. The given bounds should lie completely inside the given node geometry.


© Copyright 2010-2014,
yWorks GmbH.
All rights reserved.