Emojicode Documentation 0.8
Guides Language Reference Package Index

Class ๐Ÿ”

๐Ÿ” represents the application.

Methods

๐ŸŽฆโ—๏ธ

โ—๏ธ ๐ŸŽฆ 

Flips the drawing target display. Copies or updates the front and back buffers so that what has been drawn previously on the drawing target display becomes visible on screen.

๐Ÿ“โ—๏ธ

โ—๏ธ ๐Ÿ“ bitmap ๐Ÿ–ผ 

Sets bitmap as the current drawing target.

๐Ÿโ—๏ธ

โ—๏ธ ๐Ÿ display ๐Ÿ“บ 

Sets the bitmap acting as backbuffer of display as the current drawing target.

๐Ÿšฟโ—๏ธ

โ—๏ธ ๐Ÿšฟ color โœด๏ธ๐ŸŽจ 

Fills the entire drawing target with the given color.

๐Ÿ–Šโ—๏ธ

โ—๏ธ ๐Ÿ–Š x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ x2 ๐Ÿ’ฏ y2 ๐Ÿ’ฏ thickness ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws a line between the two points ((x1|y1) and (x2|y2)).

๐Ÿ“โ—๏ธ

โ—๏ธ ๐Ÿ“ x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ x2 ๐Ÿ’ฏ y2 ๐Ÿ’ฏ x3 ๐Ÿ’ฏ y3 ๐Ÿ’ฏ thickness ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws an outlined triangle between the given three points ((x1|y1), (x2|y2) and (x3|y3)).

๐Ÿšฉโ—๏ธ

โ—๏ธ ๐Ÿšฉ x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ x2 ๐Ÿ’ฏ y2 ๐Ÿ’ฏ x3 ๐Ÿ’ฏ y3 ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws a filled triangle between the given three points ((x1|y1), (x2|y2) and (x3|y3)).

๐Ÿ“‹โ—๏ธ

โ—๏ธ ๐Ÿ“‹ x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ x2 ๐Ÿ’ฏ y2 ๐Ÿ’ฏ thickness ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws an outlined rectangle between the two points ((x1|y1) and (x2|y2)) which are the upper left and lower right point of the rectangle respectively.

๐Ÿ—„โ—๏ธ

โ—๏ธ ๐Ÿ—„ x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ x2 ๐Ÿ’ฏ y2 ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws a filled rectangle between the two points ((x1|y1) and (x2|y2)) which are the upper left and lower right point of the rectangle respectively.

โšฝโ—๏ธ

โ—๏ธ โšฝ x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ r ๐Ÿ’ฏ thickness ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws an outlined circle. The center of the circle is the given point ((x1|y1) and the radius is r.

๐Ÿ€โ—๏ธ

โ—๏ธ ๐Ÿ€ x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ r ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws a filled circle. The center of the circle is the given point (x1|y1) and the radius is r.

๐Ÿ‰โ—๏ธ

โ—๏ธ ๐Ÿ‰ x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ x2 ๐Ÿ’ฏ y2 ๐Ÿ’ฏ rx ๐Ÿ’ฏ ry ๐Ÿ’ฏ thickness ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws an outlined rectangle with rounded corners between the two points ((x1|y1) and (x2|y2)) which are the upper left and lower right point of the rectangle respectively.

๐Ÿˆโ—๏ธ

โ—๏ธ ๐Ÿˆ x1 ๐Ÿ’ฏ y1 ๐Ÿ’ฏ x2 ๐Ÿ’ฏ y2 ๐Ÿ’ฏ rx ๐Ÿ’ฏ ry ๐Ÿ’ฏ color โœด๏ธ๐ŸŽจ 

Draws a filled rectangle with rounded corners between the two points ((x1|y1) and (x2|y2)) which are the upper left and lower right point of the rectangle respectively.

๐Ÿ“ผโ—๏ธ

โ—๏ธ ๐Ÿ“ผ bitmap ๐Ÿ–ผ dx ๐Ÿ’ฏ dy ๐Ÿ’ฏ 

Draws the given bitmap at the given location.

๐Ÿ’ฝโ—๏ธ

โ—๏ธ ๐Ÿ’ฝ bitmap ๐Ÿ–ผ sx ๐Ÿ’ฏ sy ๐Ÿ’ฏ sw ๐Ÿ’ฏ sh ๐Ÿ’ฏ dx ๐Ÿ’ฏ dy ๐Ÿ’ฏ dw ๐Ÿ’ฏ dh ๐Ÿ’ฏ 

Draws a scaled and cropped version of the given bitmap at the given location.

๐Ÿ”กโ—๏ธ

โ—๏ธ ๐Ÿ”ก font ๐Ÿ•‰ text ๐Ÿ”ก x ๐Ÿ’ฏ y ๐Ÿ’ฏ align โš– color โœด๏ธ๐ŸŽจ 

Draws the given text at the given position in the given font and color.

Type Methods

๐Ÿ™‹

๐Ÿ‡โ—๏ธ ๐Ÿ™‹ main ๐Ÿ‡๐Ÿ”๐Ÿ‰ 

You must call this method before using any of the other methods as it initializes the system. The callback will be called and passed an instance of ๐Ÿ” once the application is ready.