Loading api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -10174,8 +10174,8 @@ package android.graphics { method public boolean clipRect(float, float, float, float, android.graphics.Region.Op); method public boolean clipRect(float, float, float, float); method public boolean clipRect(int, int, int, int); method public boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); method public boolean clipRegion(android.graphics.Region); method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); method public deprecated boolean clipRegion(android.graphics.Region); method public void concat(android.graphics.Matrix); method public void drawARGB(int, int, int, int); method public void drawArc(android.graphics.RectF, float, float, boolean, android.graphics.Paint); graphics/java/android/graphics/Canvas.java +6 −0 Original line number Diff line number Diff line Loading @@ -713,6 +713,9 @@ public class Canvas { * @param region The region to operate on the current clip, based on op * @param op How the clip is modified * @return true if the resulting is non-empty * * @deprecated Unlike all other clip calls this API does not respect the * current matrix. Use {@link #clipRect(Rect)} as an alternative. */ public boolean clipRegion(Region region, Region.Op op) { return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); Loading @@ -727,6 +730,9 @@ public class Canvas { * * @param region The region to operate on the current clip, based on op * @return true if the resulting is non-empty * * @deprecated Unlike all other clip calls this API does not respect the * current matrix. Use {@link #clipRect(Rect)} as an alternative. */ public boolean clipRegion(Region region) { return clipRegion(region, Region.Op.INTERSECT); Loading Loading
api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -10174,8 +10174,8 @@ package android.graphics { method public boolean clipRect(float, float, float, float, android.graphics.Region.Op); method public boolean clipRect(float, float, float, float); method public boolean clipRect(int, int, int, int); method public boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); method public boolean clipRegion(android.graphics.Region); method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); method public deprecated boolean clipRegion(android.graphics.Region); method public void concat(android.graphics.Matrix); method public void drawARGB(int, int, int, int); method public void drawArc(android.graphics.RectF, float, float, boolean, android.graphics.Paint);
graphics/java/android/graphics/Canvas.java +6 −0 Original line number Diff line number Diff line Loading @@ -713,6 +713,9 @@ public class Canvas { * @param region The region to operate on the current clip, based on op * @param op How the clip is modified * @return true if the resulting is non-empty * * @deprecated Unlike all other clip calls this API does not respect the * current matrix. Use {@link #clipRect(Rect)} as an alternative. */ public boolean clipRegion(Region region, Region.Op op) { return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); Loading @@ -727,6 +730,9 @@ public class Canvas { * * @param region The region to operate on the current clip, based on op * @return true if the resulting is non-empty * * @deprecated Unlike all other clip calls this API does not respect the * current matrix. Use {@link #clipRect(Rect)} as an alternative. */ public boolean clipRegion(Region region) { return clipRegion(region, Region.Op.INTERSECT); Loading