Lines Matching refs:path

22  * It can be drawn with canvas.drawPath(path, paint), either filled or stroked
24 * text on a path.
43 * Create an empty path
50 * Create a new path, copying the contents from the src path.
52 * @param src The path to copy from when initializing the new path
67 * Clear any lines and curves from the path, making it empty.
82 * Rewinds the path: clears any lines and curves from the path but
109 * Subtract the second path from the first path.
125 * Subtract the first path from the second path.
131 * Set this path to the result of applying the Op to this path and the specified path.
132 * The resulting path will be constructed from non-overlapping contours.
136 * @param path The second operand (for difference, the subtrahend)
138 * @return True if operation succeeded, false otherwise and this path remains unmodified.
143 public boolean op(Path path, Op op) {
144 return op(this, path, op);
148 * Set this path to the result of applying the Op to the two specified paths.
149 * The resulting path will be constructed from non-overlapping contours.
156 * @return True if operation succeeded, false otherwise and this path remains unmodified.
171 * Returns the path's convexity, as defined by the content of the path.
173 * A path is convex if it has a single contour, and only ever curves in a
176 * This function will calculate the convexity of the path from its control
179 * @return True if the path is convex.
186 * Enum for the ways a path may be filled.
201 * Same as {@link #WINDING}, but draws outside of the path, rather than inside.
205 * Same as {@link #EVEN_ODD}, but draws outside of the path, rather than inside.
225 * Return the path's fill type. This defines how "inside" is
228 * @return the path's fill type
235 * Set the path's fill type. This defines how "inside" is computed.
237 * @param ft The new fill type for this path
263 * Returns true if the path is empty (contains no lines or curves)
265 * @return true if the path is empty (contains no lines or curves)
272 * Returns true if the path specifies a rectangle. If so, and if rect is
273 * not null, set rect to the bounds of the path. If the path does not
276 * @param rect If not null, returns the bounds of the path if it specifies
278 * @return true if the path specifies a rectangle
285 * Compute the bounds of the control points of the path, and write the
286 * answer into bounds. If the path contains 0 or 1 points, the bounds is
289 * @param bounds Returns the computed bounds of the path's control points.
298 * Hint to the path to prepare for adding more points. This can allow the
299 * path to more efficiently allocate its storage.
302 * path
424 * Append the specified arc to the path as a new contour. If the start of
425 * the path is different from the path's current last point, then an
427 * start of the arc. However, if the path is empty, then we call moveTo()
442 * Append the specified arc to the path as a new contour. If the start of
443 * the path is different from the path's current last point, then an
445 * start of the arc. However, if the path is empty, then we call moveTo()
457 * Append the specified arc to the path as a new contour. If the start of
458 * the path is different from the path's current last point, then an
460 * start of the arc. However, if the path is empty, then we call moveTo()
485 * are added to a path.
512 * Add a closed rectangle contour to the path
514 * @param rect The rectangle to add as a closed contour to the path
522 * Add a closed rectangle contour to the path
524 * @param left The left side of a rectangle to add to the path
525 * @param top The top of a rectangle to add to the path
526 * @param right The right side of a rectangle to add to the path
527 * @param bottom The bottom of a rectangle to add to the path
536 * Add a closed oval contour to the path
538 * @param oval The bounds of the oval to add as a closed contour to the path
546 * Add a closed oval contour to the path
556 * Add a closed circle contour to the path
558 * @param x The x-coordinate of the center of a circle to add to the path
559 * @param y The y-coordinate of the center of a circle to add to the path
560 * @param radius The radius of a circle to add to the path
569 * Add the specified arc to the path as a new contour.
580 * Add the specified arc to the path as a new contour.
592 * Add a closed round-rectangle contour to the path
594 * @param rect The bounds of a round-rectangle to add to the path
604 * Add a closed round-rectangle contour to the path
617 * Add a closed round-rectangle contour to the path. Each corner receives
621 * @param rect The bounds of a round-rectangle to add to the path
633 * Add a closed round-rectangle contour to the path. Each corner receives
650 * Add a copy of src to the path, offset by (dx,dy)
652 * @param src The path to add as a new contour
653 * @param dx The amount to translate the path in X as it is added
661 * Add a copy of src to the path
663 * @param src The path that is appended to the current path
671 * Add a copy of src to the path, transformed by matrix
673 * @param src The path to add as a new contour
681 * Offset the path by (dx,dy)
683 * @param dx The amount in the X direction to offset the entire path
684 * @param dy The amount in the Y direction to offset the entire path
685 * @param dst The translated path is written here. If this is null, then
686 * the original path is modified.
698 * Offset the path by (dx,dy)
700 * @param dx The amount in the X direction to offset the entire path
701 * @param dy The amount in the Y direction to offset the entire path
709 * Sets the last point of the path.
720 * Transform the points in this path by matrix, and write the answer
721 * into dst. If dst is null, then the the original path is modified.
723 * @param matrix The matrix to apply to the path
724 * @param dst The transformed path is written here. If dst is null,
725 * then the the original path is modified
737 * Transform the points in this path by matrix.
739 * @param matrix The matrix to apply to the path
763 * <li>Fraction along the length of the path that the point resides</li>