View Source Image.Options.LinearGradient (image v0.55.2)
Options and option validation for Image.linear_gradient/2
.
Summary
Types
Options applicable to Image.linear_gradient/2
.
Options list or map for Image.linear_gradient/2
.
Functions
Validate the options for Image.linear_gradient/2
.
Types
@type linear_gradient_option() :: {:start_color, Image.Color.rgb_color()} | {:finish_color, Image.Color.rgb_color()} | {:angle, number()}
Options applicable to Image.linear_gradient/2
.
@type linear_gradient_options() :: [linear_gradient_option()] | map()
Options list or map for Image.linear_gradient/2
.
Functions
Validate the options for Image.linear_gradient/2
.