Package | com.yworks.graph.drawing |
Interface | public interface IEdgeStyleRenderer extends IStyleRenderer |
Implementors | AbstractEdgeStyleRenderer, DelegatingStyleRenderer, VoidEdgeStyleRenderer |
IEdgeStyle
implementations
that can be used to query the actual IDisplayObjectCreator
and
IBoundsProvider
implementations for an item and an associated style.
Method | Defined By | ||
---|---|---|---|
Gets an implementation of the IBoundsProvider interface that can
handle the provided item and its associated style. | IStyleRenderer | ||
Gets a temporary context instance that can be used to query additional information
for the item's style. | IStyleRenderer | ||
Gets an implementation of IDisplayObjectCreator that will create
the display object for the user object. | IStyleRenderer | ||
Gets an implementation of the IHitTestable interface that can
handle the provided item and its associated style. | IStyleRenderer | ||
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 |
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.
|
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
|