diff options
Diffstat (limited to 'graphics')
| -rw-r--r-- | graphics/java/android/graphics/BlurMaskFilter.java | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/graphics/java/android/graphics/BlurMaskFilter.java b/graphics/java/android/graphics/BlurMaskFilter.java index dbf57ac..5eafe76 100644 --- a/graphics/java/android/graphics/BlurMaskFilter.java +++ b/graphics/java/android/graphics/BlurMaskFilter.java @@ -16,13 +16,19 @@ package android.graphics; +/** + * This takes a mask, and blurs its edge by the specified radius. Whether or + * or not to include the original mask, and whether the blur goes outside, + * inside, or straddles, the original mask's border, is controlled by the + * Blur enum. + */ public class BlurMaskFilter extends MaskFilter { public enum Blur { - NORMAL(0), //!< fuzzy inside and outside - SOLID(1), //!< solid inside, fuzzy outside - OUTER(2), //!< nothing inside, fuzzy outside - INNER(3); //!< fuzzy inside, nothing outside + NORMAL(0), //!< blur inside and outside of the original border + SOLID(1), //!< include the original mask, blur outside + OUTER(2), //!< just blur outside the original border + INNER(3); //!< just blur inside the original border Blur(int value) { native_int = value; |
