Class AndroidEmoji.EmojiImageSpan
-
- All Implemented Interfaces:
public class AndroidEmoji.EmojiImageSpan
-
-
Field Summary
Fields Modifier and Type Field Description public final static int
ALIGN_BOTTOM
-
Constructor Summary
Constructors Constructor Description AndroidEmoji.EmojiImageSpan(int codePoint, float textSize)
-
Method Summary
Modifier and Type Method Description Drawable
getDrawable()
Your subclass must implement this method to provide the bitmap to be drawn. int
getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm)
void
draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint)
-
-
Method Detail
-
getDrawable
Drawable getDrawable()
Your subclass must implement this method to provide the bitmap to be drawn. The dimensions of the bitmap must be the same from each call to the next.
-
getSize
int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm)
-
draw
void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint)
-
-
-
-