Implementations of this interface can provide a path that is used to determine bridges by BridgeManager.
Inheritance Hierarchy
Remarks
Typically the ILookup implementation of styles will return an implementation of this interface.
See Also
Developer's Guide
Members
No filters for this type
Methods
Returns a path representing obstacles that would need bridges.
Returns a path representing obstacles that would need bridges.
For performance reasons, the implementation should only return a non-
null GeneralPath if it might be visible in the provided clip.abstract
Parameters
- context: IRenderContext
- The context for which the obstacles are queried.
Return Value
- GeneralPath
- A path that describes the obstacles or
nullif there are no obstacles for the given context.
Implemented in
GraphObstacleProvider.getObstaclesStatic Methods
Creates an implementation of the interface IObstacleProvider by using the given function as implementation for its getObstacles method.
Creates an implementation of the interface IObstacleProvider by using the given function as implementation for its getObstacles method.
static
Parameters
- getObstacles: function(IRenderContext): GeneralPath
- A function for IObstacleProvider's single abstract method getObstacles.
Return Value
- IObstacleProvider
- An instance of the IObstacleProvider interface based on the given function.