fromText
Creates a pin with the specified text, color, and size. The text will be sized to be as large as possible while still being contained completely within the pin.
Return
The canvas element that represents the generated pin.
Parameters
text
The text to be stamped onto the pin.
color
The color of the pin.
size
The size of the pin, in pixels.