Interface used by IEdgeStyle implementations that can be used to query the actual IVisualCreator, IVisibilityTestable, IBoundsProvider, IHitTestable, and IMarqueeTestable implementations for an edge and an associated style.
Remarks
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.styles.IEdgeStyleRenderer
See Also
Methods
Gets an implementation of the IBoundsProvider interface that can handle the provided edge and its associated style.
Remarks
Parameters
A map of options to pass to the method.
- edge - IEdge
- The edge to provide an instance for
- style - IEdgeStyle
- The style to use for the calculating the painting bounds
Returns
- ↪IBoundsProvider
- An implementation that may be used to subsequently query the edge's painting bounds. 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
Gets a temporary context instance that can be used to query additional information for the edge's style.
Remarks
null
.Parameters
A map of options to pass to the method.
- edge - IEdge
- The edge to provide a context instance for.
- style - IEdgeStyle
- The style to use for the context.
Returns
- ↪ILookup
- An non-
null
lookup implementation.
See Also
Gets an implementation of the IHitTestable interface that can handle the provided edge and its associated style.
Remarks
Parameters
A map of options to pass to the method.
- edge - IEdge
- The edge to provide an instance for
- style - IEdgeStyle
- The style to use for the querying hit tests
Returns
- ↪IHitTestable
- An implementation that may be used to subsequently perform hit tests. 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. This method may return
null
to indicate that the edge cannot be hit tested.
Gets an implementation of the IMarqueeTestable interface that can handle the provided edge and its associated style.
Remarks
Parameters
A map of options to pass to the method.
- edge - IEdge
- The edge to provide an instance for
- style - IEdgeStyle
- The style to use for the querying marquee intersection test.
Returns
- ↪IMarqueeTestable
- An implementation that may be used to subsequently query the marquee intersections. 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
Gets an implementation of the IPathGeometry interface that can handle the provided edge and its associated style.
Remarks
Parameters
A map of options to pass to the method.
- edge - IEdge
- The edge to provide an instance for
- style - IEdgeStyle
- The style to use for the rendering
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
Gets an implementation of the IVisibilityTestable interface that can handle the provided edge and its associated style.
Remarks
Parameters
A map of options to pass to the method.
- edge - IEdge
- The edge to provide an instance for
- style - IEdgeStyle
- The style to use for the testing the visibility
Returns
- ↪IVisibilityTestable
- An implementation that may be used to subsequently query the edge's visibility. 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
Gets an implementation of the IVisualCreator interface that can handle the provided edge and its associated style.
Remarks
null
.Parameters
A map of options to pass to the method.
- edge - IEdge
- The edge to provide an instance for
- style - IEdgeStyle
- The style to use for the creation of the visual
Returns
- ↪IVisualCreator
- An implementation that may be used to subsequently create or update the visual for the edge. 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. This method may not return
null
but should yield a void implementation instead.