public static class AndroidEmoji.EmojiImageSpan
extends android.text.style.ReplacementSpan
| 限定符和类型 | 字段和说明 | 
|---|---|
static int | 
ALIGN_BOTTOM
A constant indicating that the bottom of this span should be aligned
 with the bottom of the surrounding text, i.e., at the same level as the
 lowest descender in the text. 
 | 
| 构造器和说明 | 
|---|
EmojiImageSpan(int codePoint,
              float textSize)  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
void | 
draw(android.graphics.Canvas canvas,
    java.lang.CharSequence text,
    int start,
    int end,
    float x,
    int top,
    int y,
    int bottom,
    android.graphics.Paint paint)  | 
android.graphics.drawable.Drawable | 
getDrawable()
Your subclass must implement this method to provide the bitmap
 to be drawn. 
 | 
int | 
getSize(android.graphics.Paint paint,
       java.lang.CharSequence text,
       int start,
       int end,
       android.graphics.Paint.FontMetricsInt fm)  | 
public static final int ALIGN_BOTTOM
public android.graphics.drawable.Drawable getDrawable()
public int getSize(android.graphics.Paint paint,
                   java.lang.CharSequence text,
                   int start,
                   int end,
                   android.graphics.Paint.FontMetricsInt fm)
getSize 在类中 android.text.style.ReplacementSpanpublic void draw(android.graphics.Canvas canvas,
                 java.lang.CharSequence text,
                 int start,
                 int end,
                 float x,
                 int top,
                 int y,
                 int bottom,
                 android.graphics.Paint paint)
draw 在类中 android.text.style.ReplacementSpan