transformed method Null safety
- Matrix4? transform
Transforms the event from the global coordinate space into the coordinate space of an event receiver.
The coordinate space of the event receiver is described by
null value for
transform is treated as the identity transformation.
The method may return the same object instance if for example the transformation has no effect on the event.
Transforms are not commutative. If this method is called on a
PointerEvent that has a non-null
transform value, that value will be
overridden by the provided
PointerEvent transformed(Matrix4? transform);