Documentation update.

This commit is contained in:
Leon Styhre 2023-03-04 10:29:48 +01:00
parent 088cf3fd34
commit 990adfe2c2
2 changed files with 11 additions and 1 deletions

View file

@ -138,7 +138,7 @@ Overall application speed and performance has been greatly improved with faster
* Greatly improved the performance of shader post-processing such as scanlines and blur rendering * Greatly improved the performance of shader post-processing such as scanlines and blur rendering
* Greatly improved application startup speed by avoiding a lot of unnecessary SVG rasterizations * Greatly improved application startup speed by avoiding a lot of unnecessary SVG rasterizations
* Implemented dynamic texture allocation to the font code to reduce memory usage and avoid missing glyphs * Implemented dynamic texture allocation to the font code to reduce memory usage and avoid missing glyphs
* Added support for changing font texture saturation * Added support for changing the saturation for font textures
* Large optimizations to the text wrapping code (generallly 300-400% faster) * Large optimizations to the text wrapping code (generallly 300-400% faster)
* Added support for linear interpolation for font texture magnifications * Added support for linear interpolation for font texture magnifications
* Added support for texture mipmapping with trilinear filtering * Added support for texture mipmapping with trilinear filtering

View file

@ -2033,6 +2033,16 @@ Properties:
- Valid values are `nearest` or `linear` - Valid values are `nearest` or `linear`
- Default is `nearest` - Default is `nearest`
- This property can only be used for GIF animations. - This property can only be used for GIF animations.
* `color` - type: COLOR
- Applies a color shift to the animation by multiplying each pixel's color by this color value. For example, an all-white animation with `FF0000` applied would become completely red. You can also control the transparency of the animation by setting the value to for example `FFFFFFAA`. This keeps all pixels at their normal color and only affects the alpha channel. This property is applied after `saturation` so by setting that property to `0` it's possible to colorize rather than color shift.
- Default is `FFFFFFFF` (no color shift applied)
* `colorEnd` - type: COLOR
- Works in the exact same way as `color` but can be set as the end color to apply a color shift gradient.
- Default is the same value as `color`
* `gradientType` - type: STRING
- The direction to apply the color shift gradient if both `color` and `colorEnd` have been defined.
- Valid values are `horizontal` or `vertical`
- Default is `horizontal`
* `brightness` - type: FLOAT * `brightness` - type: FLOAT
- Controls the relative level of brightness. This is intended primarily for fine adjustments. - Controls the relative level of brightness. This is intended primarily for fine adjustments.
- Minimum value is `-2` and maximum value is `2` - Minimum value is `-2` and maximum value is `2`