Make outline alpha APIs public
bug:16140822 Change-Id: Ie21e2a75b462319fb49c5696f0c019e1ea803bc1
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user