Created
November 28, 2021 08:39
-
-
Save madhavanmalolan/0ea8cdb960cc1749ed643ea06a5798b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string[9] memory parts; | |
parts[0] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: white; font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="black" /><text x="10" y="20" class="base">'; | |
parts[1] = Strings.toString(1); | |
parts[2] = '</text><text x="10" y="40" class="base">'; | |
parts[3] = "to"; | |
parts[4] = '</text><text x="10" y="60" class="base">'; | |
parts[5] = "for"; | |
parts[6] = '</text><text x="10" y="80" class="base">'; | |
parts[7] = "comment"; | |
parts[8] = '</text></svg>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment