Class AndroidEmoji.EmojiImageSpan

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int ALIGN_BOTTOM
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndroidEmoji.EmojiImageSpan

        AndroidEmoji.EmojiImageSpan(int codePoint, float textSize)
    • 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)