Class Emoji

java.lang.Object
icyllis.modernui.graphics.text.Emoji

public final class Emoji extends Object
A utility class for Emoji.
  • Field Details

  • Constructor Details

    • Emoji

      public Emoji()
  • Method Details

    • isEmoji

      public static boolean isEmoji(int codePoint)
      Returns true if the character has Emoji property.
    • isEmojiPresentation

      public static boolean isEmojiPresentation(int codePoint)
      Returns true if the character has emoji presentation by default.
    • isEmojiModifier

      public static boolean isEmojiModifier(int codePoint)
      Returns true if the given code point is emoji modifier.
    • isEmojiModifierBase

      public static boolean isEmojiModifierBase(int codePoint)
      Returns true if the given code point is emoji modifier base.
      Parameters:
      codePoint - codepoint to check
      Returns:
      true if is emoji modifier base
    • isRegionalIndicatorSymbol

      public static boolean isRegionalIndicatorSymbol(int codePoint)
      Returns true if the given code point is regional indicator symbol.
    • isKeycapBase

      public static boolean isKeycapBase(int codePoint)
      Returns true if the character can be a base character of COMBINING ENCLOSING KEYCAP.
    • isTagSpecChar

      public static boolean isTagSpecChar(int codePoint)
      Returns true if the character can be a part of tag_spec in emoji tag sequence.

      Note that 0xE007F (CANCEL TAG) is not included.