Packagecom.yworks.graph.drawing
Interfacepublic interface IEdgeStyleRenderer extends IStyleRenderer
Implementors AbstractEdgeStyleRenderer, DelegatingStyleRenderer, VoidEdgeStyleRenderer

Interface used by IEdgeStyle implementations that can be used to query the actual IDisplayObjectCreator and IBoundsProvider implementations for an item and an associated style.



Public Methods
 MethodDefined By
 Inherited
Gets an implementation of the IBoundsProvider interface that can handle the provided item and its associated style.
IStyleRenderer
 Inherited
Gets a temporary context instance that can be used to query additional information for the item's style.
IStyleRenderer
 Inherited
Gets an implementation of IDisplayObjectCreator that will create the display object for the user object.
IStyleRenderer
 Inherited
Gets an implementation of the IHitTestable interface that can handle the provided item and its associated style.
IStyleRenderer
 Inherited
Gets an implementation of the IMarqueeTestable interface that can handle the provided item and its associated style.
IStyleRenderer
  
Gets an implementation of the IPathGeometry interface that can handle the provided edge and its associated style.
IEdgeStyleRenderer
Method Detail
getPathGeometry()method
public function getPathGeometry(edge:IEdge, style:IEdgeStyle):IPathGeometry

Gets an implementation of the IPathGeometry interface that can handle the provided edge and its associated style.

This method may return a flyweight implementation.

Parameters

edge:IEdge — The edge to provide an instance for.
 
style:IEdgeStyle — The style to use for the painting.

Returns
IPathGeometry — An implementation that may be used to subsequently query geometry information from. Clients should not cache this instance and must always call this method immediately before using the value returned. This enables the use of the flyweight design pattern for implementations