Shapes
We can round an object's borders by doing the following:
This means that we don't need alpha'd circles or rounded objects, as a simple .jpg is enough. The result is a lighter and faster app.
In theory, we can do any shape. However, depending on time, and how this shape is used, it might be better to have it as an asset.
This is how to do a triangle:
A lot weirder, right? The more sides, the longer the code will be. In cases like this, we should talk and see what is the better option.
Last updated