summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-07-21 21:33:20 -0700
committerRomain Guy <romainguy@google.com>2010-07-21 21:33:20 -0700
commit694b519ac647fe998fd396fe0784cc8e179aadc4 (patch)
tree80a5e423f90aba3ab74645ac7f3b2cbfd838c757 /graphics
parent0119ba5bd3335fe026927eeb65de535a7bd8c838 (diff)
downloadframeworks_base-694b519ac647fe998fd396fe0784cc8e179aadc4.zip
frameworks_base-694b519ac647fe998fd396fe0784cc8e179aadc4.tar.gz
frameworks_base-694b519ac647fe998fd396fe0784cc8e179aadc4.tar.bz2
Add text rendering.
Change-Id: Ibe5a9fa844d531b31b55e43de403a98d49f659b9
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/Paint.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/java/android/graphics/Paint.java b/graphics/java/android/graphics/Paint.java
index 3d63aa6..6349cb3 100644
--- a/graphics/java/android/graphics/Paint.java
+++ b/graphics/java/android/graphics/Paint.java
@@ -931,15 +931,14 @@ public class Paint {
}
/**
- * Temporary API to expose layer drawing. This draws a shadow layer below
- * the main layer, with the specified offset and color, and blur radius.
- * If radius is 0, then the shadow layer is removed.
+ * This draws a shadow layer below the main layer, with the specified
+ * offset and color, and blur radius. If radius is 0, then the shadow
+ * layer is removed.
*/
- public native void setShadowLayer(float radius, float dx, float dy,
- int color);
+ public native void setShadowLayer(float radius, float dx, float dy, int color);
/**
- * Temporary API to clear the shadow layer.
+ * Clear the shadow layer.
*/
public void clearShadowLayer() {
setShadowLayer(0, 0, 0, 0);