Gradient - khanhas/MagickMeter GitHub Wiki
Parameters:
Gradient Type
Valid Type
value:
Linear
Radial
Modifiers:
ColorList
Parameter:
ColorList OptionName
Gradients must be defined in a separate named option, OptionName
, with a series of Color codes, a ; semi-colon, and a Percentage from 0.0 to 1.0 to define the position of the color in the gradient. Each series of Color ; Percentage are separated by a | pipe character.
Image = Gradient Linear | ColorList CustomGradient
CustomGradient = 255,0,0 ; 0 | 0,255,0 ; 0.5 | 0,0,255 ; 1
Canvas
Default: 600,600
Parameter:
Canvas Width, Height
Define gradient region.
GradientAngle
Default: 0
Parameter:
GradientAngle Degree
GradientRadii
Parameter:
GradientRadii RadiiX,RadiiY
Adjust size of radial gradient.
GradientVector
Parameter:
GradientVector X1,Y1,X2,Y2
Alternative and more advanced way to define gradient direction by using 2 control points. GradientAngle
overrides this modifier if it is defined.
SpreadType
Default: 1
Parameter:
SpreadType Type
Valid Type
values:
1
- Pad spread2
- Reflect spread3
- Repeat spread