mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
add 'add_stroke_effect' script function
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Function: add_stroke_effect
|
||||
|
||||
--Usage--
|
||||
> add_stroke_effect(input: image, radius: number, blur: number, color: color)
|
||||
|
||||
Add a stroke effect around an image.
|
||||
|
||||
--Parameters--
|
||||
! Parameter Type Description
|
||||
| @input@ [[type:image]] Image that needs a stroke effect
|
||||
| @radius@ [[type:int]] Size of the stroke, in pixels
|
||||
| @blur@ [[type:int]] Size of the blur of the stroke, in pixels. Optional, defaults to 0
|
||||
| @color@ [[type:color]] Color of the stroke
|
||||
| @include_image@ [[type:boolean]] Draw the original image in the middle of the stroke effect. Optional, defaults to true
|
||||
|
||||
Reference in New Issue
Block a user