Lines Matching refs:path

638         * Modify the current clip with the specified path.
640 * @param path The path to operate on the current clip
644 public boolean clipPath(Path path, Region.Op op) {
645 return native_clipPath(mNativeCanvas, path.ni(), op.nativeInt);
649 * Intersect the current clip with the specified path.
651 * @param path The path to intersect with the current clip
654 public boolean clipPath(Path path) {
655 return clipPath(path, Region.Op.INTERSECT);
729 * @param type {@link Canvas.EdgeType#AA} if the path should be considered antialiased,
740 * Return true if the specified path, after being transformed by the
744 * return false even if the path itself might not intersect the clip
745 * (i.e. the bounds of the path intersects, but the path does not).
747 * @param path The path to compare with the current clip
748 * @param type {@link Canvas.EdgeType#AA} if the path should be considered antialiased,
751 * @return true if the path (transformed by the canvas' matrix)
754 public boolean quickReject(Path path, EdgeType type) {
755 return native_quickReject(mNativeCanvas, path.ni());
772 * @param type {@link Canvas.EdgeType#AA} if the path should be considered antialiased,
1046 * Draw the specified path using the specified paint. The path will be
1049 * @param path The path to be drawn
1050 * @param paint The paint used to draw the path
1052 public void drawPath(Path path, Paint paint) {
1053 native_drawPath(mNativeCanvas, path.ni(), paint.mNativePaint);
1565 * the specified path. The paint's Align setting determins where along the
1566 * path to start the text.
1569 * @param path The path the text should follow for its baseline
1570 * @param hOffset The distance along the path to add to the text's
1572 * @param vOffset The distance above(-) or below(+) the path to position
1576 public void drawTextOnPath(char[] text, int index, int count, Path path,
1582 path.ni(), hOffset, vOffset,
1588 * the specified path. The paint's Align setting determins where along the
1589 * path to start the text.
1592 * @param path The path the text should follow for its baseline
1593 * @param hOffset The distance along the path to add to the text's
1595 * @param vOffset The distance above(-) or below(+) the path to position
1599 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) {
1601 native_drawTextOnPath(mNativeCanvas, text, path.ni(), hOffset, vOffset,
1697 int path);
1728 private static native void native_drawPath(int nativeCanvas, int path,
1786 int count, int path,
1791 String text, int path,