Difference between revisions of "Pixel"
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
A rectangular Sprite which can be filled with solid colors, gradients or textures. | A rectangular Sprite which can be filled with solid colors, gradients or textures. | ||
− | Pixel aims at being a simpler and faster alternative to Shape when needing to display a coloured box or box with a gradient. It is also useful as Bitmap replacement since every texture will be fitted into Pixel dimensions automatically.{|- | + | Pixel aims at being a simpler and faster alternative to Shape when needing to display a coloured box or box with a gradient. It is also useful as Bitmap replacement since every texture will be fitted into Pixel dimensions automatically. |
+ | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === |
Revision as of 10:05, 23 August 2018
Supported platforms:
Available since: Gideros 2016.06
Description
A rectangular Sprite which can be filled with solid colors, gradients or textures. Pixel aims at being a simpler and faster alternative to Shape when needing to display a coloured box or box with a gradient. It is also useful as Bitmap replacement since every texture will be fitted into Pixel dimensions automatically.
MethodsPixel.new - Create new pixel |
EventsConstants |