Loading core/api/current.txt +2 −1 Original line number Diff line number Diff line Loading @@ -16299,7 +16299,8 @@ package android.graphics { method public void arcTo(@NonNull android.graphics.RectF, float, float); method public void arcTo(float, float, float, float, float, float, boolean); method public void close(); method public void computeBounds(@NonNull android.graphics.RectF, boolean); method @Deprecated public void computeBounds(@NonNull android.graphics.RectF, boolean); method public void computeBounds(@NonNull android.graphics.RectF); method public void conicTo(float, float, float, float, float); method public void cubicTo(float, float, float, float, float, float); method @NonNull public android.graphics.Path.FillType getFillType(); graphics/java/android/graphics/Path.java +14 −0 Original line number Diff line number Diff line Loading @@ -293,9 +293,23 @@ public class Path { * * @param bounds Returns the computed bounds of the path's control points. * @param exact This parameter is no longer used. * * @deprecated use computeBounds(RectF) instead */ @Deprecated @SuppressWarnings({"UnusedDeclaration"}) public void computeBounds(@NonNull RectF bounds, boolean exact) { computeBounds(bounds); } /** * Compute the bounds of the control points of the path, and write the * answer into bounds. If the path contains 0 or 1 points, the bounds is * set to (0,0,0,0) * * @param bounds Returns the computed bounds of the path's control points. */ public void computeBounds(@NonNull RectF bounds) { nComputeBounds(mNativePath, bounds); } Loading Loading
core/api/current.txt +2 −1 Original line number Diff line number Diff line Loading @@ -16299,7 +16299,8 @@ package android.graphics { method public void arcTo(@NonNull android.graphics.RectF, float, float); method public void arcTo(float, float, float, float, float, float, boolean); method public void close(); method public void computeBounds(@NonNull android.graphics.RectF, boolean); method @Deprecated public void computeBounds(@NonNull android.graphics.RectF, boolean); method public void computeBounds(@NonNull android.graphics.RectF); method public void conicTo(float, float, float, float, float); method public void cubicTo(float, float, float, float, float, float); method @NonNull public android.graphics.Path.FillType getFillType();
graphics/java/android/graphics/Path.java +14 −0 Original line number Diff line number Diff line Loading @@ -293,9 +293,23 @@ public class Path { * * @param bounds Returns the computed bounds of the path's control points. * @param exact This parameter is no longer used. * * @deprecated use computeBounds(RectF) instead */ @Deprecated @SuppressWarnings({"UnusedDeclaration"}) public void computeBounds(@NonNull RectF bounds, boolean exact) { computeBounds(bounds); } /** * Compute the bounds of the control points of the path, and write the * answer into bounds. If the path contains 0 or 1 points, the bounds is * set to (0,0,0,0) * * @param bounds Returns the computed bounds of the path's control points. */ public void computeBounds(@NonNull RectF bounds) { nComputeBounds(mNativePath, bounds); } Loading