- 0: No rounding (default)
- 1: Round to nearest pixel This can help with visual consistency, especially for pixel art styles.
Properties:
Name | Type | Description |
---|---|---|
color |
number |
The color of the element that will be multiplied with the texture color. This is typically represented as a 32-bit integer in RGBA format. |
roundPixels |
0 | 1 |
Determines whether the element should be rounded to the nearest pixel. |
transform |
Matrix |
The transform matrix of the element. This matrix represents the position, scale, rotation, and skew of the element. |
Members
The color of the element that will be multiplied with the texture color. This is typically represented as a 32-bit integer in RGBA format.
Determines whether the element should be rounded to the nearest pixel.
- 0: No rounding (default)
- 1: Round to nearest pixel This can help with visual consistency, especially for pixel art styles.
transform Matrix
The transform matrix of the element. This matrix represents the position, scale, rotation, and skew of the element.