Home | History | Annotate | Download | only in curvedmotion

Lines Matching defs:PathPoint

20  * location from the previous path location (if any). Any PathPoint holds the information for
24 public class PathPoint {
27 * The possible path operations that describe how to move from a preceding PathPoint to the
28 * location described by this PathPoint.
35 * The location of this PathPoint
40 * The first control point, if any, for a PathPoint of type CURVE
45 * The second control point, if any, for a PathPoint of type CURVE
50 * The motion described by the path to get from the previous PathPoint in an AnimatorPath
51 * to the location of this PathPoint. This can be one of MOVE, LINE, or CURVE.
60 private PathPoint(int operation, float x, float y) {
69 private PathPoint(float c0X, float c0Y, float c1X, float c1Y, float x, float y) {
80 * Constructs and returns a PathPoint object that describes a line to the given xy location.
82 public static PathPoint lineTo(float x, float y) {
83 return new PathPoint(LINE, x, y);
87 * Constructs and returns a PathPoint object that describes a curve to the given xy location
90 public static PathPoint curveTo(float c0X, float c0Y, float c1X, float c1Y, float x, float y) {
91 return new PathPoint(c0X, c0Y, c1X, c1Y, x, y);
95 * Constructs and returns a PathPoint object that describes a discontinuous move to the given
98 public static PathPoint moveTo(float x, float y) {
99 return new PathPoint(MOVE, x, y);