Library emoji
Emoji library, used to draw emoji.
Functions
| canDraw( emojiName ) | Returns true if the given emoji name is valid and can be drawn. |
| draw( emojiName, x, y, w, h ) | Draws the given emoji at the given position and with the given width and height. |
| getList() | Returns a list of all available emoji names. |
Functions
- emoji.canDraw( emojiName )
-
Returns true if the given emoji name is valid and can be drawn. False otherwise.
Environment:
ClientParameters:
-
emojiName: The name of the emoji to check.
-
- emoji.draw( emojiName, x, y, w, h )
-
Draws the given emoji at the given position and with the given width and height.
Environment:
ClientParameters:
-
emojiName: The name of the emoji to draw. If an invalid name is given, nothing will be rendered. -
x: The x co-ordinate to draw the emoji at. -
y: The y co-ordinate to draw the emoji at. -
w: The width to apply to the drawn emoji. -
h: The height to apply to the drawn emoji.
-
- emoji.getList()
-
Returns a list of all available emoji names.
Environment:
Client