createHitTestPath method
Path
createHitTestPath(
- Path originalPath,
- double tolerance, {
- ConnectionPathParameters? pathParams,
Creates an expanded path for hit testing The base implementation provides a simple stroke-based expansion
pathParams - Optional parameters used to create the original path.
Some connection styles can use these to create more optimized hit test paths.
Implementation
Path createHitTestPath(
Path originalPath,
double tolerance, {
ConnectionPathParameters? pathParams,
}) {
return _createSimpleStrokeHitTestPath(originalPath, tolerance);
}