A PathMotion that takes a Path pattern and applies it to the separation between two points.
This base class can be extended to provide motion along a Path to Transitions.
Transitions such as ChangeBounds move Views, typically
in a straight path between the start and end positions. Applications that desire to
have these motions move in a curve can change how Views interpolate in two dimensions
by extending PathMotion and implementing getPath(float, float, float, float).
This may be used in XML as an element inside a transition.
A Path along which the points should be interpolated. The returned Path
must start at point (startX, startY), typically using
moveTo(float, float) and end at (endX, endY).
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.