HitTestResult.wrap constructor
- HitTestResult result
Wraps result
(usually a subtype of HitTestResult) to create a
generic HitTestResult.
The HitTestEntrys added to the returned HitTestResult are also
added to the wrapped result
(both share the same underlying data
structure to store HitTestEntrys).
Implementation
HitTestResult.wrap(HitTestResult result)
: _path = result._path,
_transforms = result._transforms,
_localTransforms = result._localTransforms;