diff options
author | Raph Levien <raph@google.com> | 2015-04-06 16:21:59 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2015-04-14 23:51:46 -0700 |
commit | a027ec5c2dbfbbf10cac9ea538f5e230b093be2f (patch) | |
tree | e9b6a31e92091d55a10cf17dd1b5828b111feb74 /api/current.txt | |
parent | 954850ce5db39324a9f6a4a1ac62a182d88dea83 (diff) | |
download | frameworks_base-a027ec5c2dbfbbf10cac9ea538f5e230b093be2f.zip frameworks_base-a027ec5c2dbfbbf10cac9ea538f5e230b093be2f.tar.gz frameworks_base-a027ec5c2dbfbbf10cac9ea538f5e230b093be2f.tar.bz2 |
Add Paint methods for cursor positioning
Adds methods to Paint for finding an offset corresponding to an
advance, and for finding the advance corresponding to an offset,
useful for positioning and drawing a cursor.
Change-Id: Id57402ddd1980650f1d0d2f8bbdb75e43612ec51
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index d79ccbe..51c76db 100644 --- a/api/current.txt +++ b/api/current.txt @@ -11366,8 +11366,12 @@ package android.graphics { method public int getHinting(); method public float getLetterSpacing(); method public android.graphics.MaskFilter getMaskFilter(); + method public int getOffsetForAdvance(char[], int, int, int, int, boolean, float); + method public int getOffsetForAdvance(java.lang.CharSequence, int, int, int, int, boolean, float); method public android.graphics.PathEffect getPathEffect(); method public deprecated android.graphics.Rasterizer getRasterizer(); + method public float getRunAdvance(char[], int, int, int, int, boolean, int); + method public float getRunAdvance(java.lang.CharSequence, int, int, int, int, boolean, int); method public android.graphics.Shader getShader(); method public android.graphics.Paint.Cap getStrokeCap(); method public android.graphics.Paint.Join getStrokeJoin(); |