1.8
This small release improves some features of SkImage while preparing the arrival of new effects and expressions.
🐛 Bugfixes
•
#3 has been fixed, every syntax now use number
as an argument and can support both integer
and double
/ float
•
SkImage now use Skript Color, instead of global java.awt
colors. This Means SkImage brings compatibility with every addon already using this sort of color.
•
Fixed draw image
effect that threw expression when the first imùage were transparent and not the second one.
•
Fixed align center
for text, that took the shape itself instead of the middle of the text.
✨ Additions
•
You can now define an angle size in the rounded
expression, that's will change how to round the actual image
•
Text can be centered vertically
⚠️ Warning
This release rework the way to write on images, you must now use text info in order to do that:
set {_image} to new image with size 500, 500
set {_font} to new font style with name "Arial Black" and with size 16
set {_text} to new text "Hello World" with color from rgb 255, 255, 255 with font {_font} centered vertically centered horizontally
draw {_text} at 150, 150 on {_image}
save image {_image} to file "plugins/image.png"
Full Changelog: 1.7.1...1.8