diff --git a/api/current.txt b/api/current.txt index 5f23a3675dfa9..4fbebf8182cc2 100644 --- a/api/current.txt +++ b/api/current.txt @@ -10983,8 +10983,10 @@ package android.graphics { ctor public Outline(); ctor public Outline(android.graphics.Outline); method public boolean canClip(); + method public float getAlpha(); method public boolean isEmpty(); method public void set(android.graphics.Outline); + method public void setAlpha(float); method public void setConvexPath(android.graphics.Path); method public void setEmpty(); method public void setOval(int, int, int, int); diff --git a/graphics/java/android/graphics/Outline.java b/graphics/java/android/graphics/Outline.java index 1cf5f3755587b..3177023edda71 100644 --- a/graphics/java/android/graphics/Outline.java +++ b/graphics/java/android/graphics/Outline.java @@ -92,19 +92,15 @@ public final class Outline { /** * Sets the alpha represented by the Outline. * - * Content producing a fully opaque (alpha = 1.0f) outline is assumed, by the drawing system, + * Content producing a fully opaque (alpha = 1.0f) outline is assumed by the drawing system * to fully cover content beneath it, meaning content beneath may be optimized away. - * - * @hide */ public void setAlpha(float alpha) { mAlpha = alpha; } /** - * Sets the alpha represented by the Outline. - * - * @hide + * Returns the alpha represented by the Outline. */ public float getAlpha() { return mAlpha;