reflectedPoint function
- @Deprecated('Utility function that should not be public.')
_PathOffset
reflectedPoint(
- _PathOffset reflectedIn,
- _PathOffset pointToReflect
)
Implementation
@Deprecated('Utility function that should not be public.')
// TODO(kevmoo): Remove this in the next release https://github.com/flutter/flutter/issues/157940
_PathOffset reflectedPoint(
_PathOffset reflectedIn, _PathOffset pointToReflect) {
return _PathOffset(2 * reflectedIn.dx - pointToReflect.dx,
2 * reflectedIn.dy - pointToReflect.dy);
}