View Source Image.Options.RadialGradient (image v0.54.4)

Options and option validation for Image.radial_gradient/3.

Summary

Types

Link to this type

radial_gradient_option()

View Source
@type radial_gradient_option() ::
  {:start_color, Image.Color.rgb_color()}
  | {:finish_color, Image.Color.rgb_color()}
  | {:feather, pos_integer()}
  | {:radius, number()}

Options applicable to Image.radial_gradient/3.

Link to this type

radial_gradient_options()

View Source
@type radial_gradient_options() :: [radial_gradient_option()] | map()

Options list or map for Image.radial_gradient/3.

Functions

Link to this function

validate_options(options)

View Source

Validate the options for Image.radial_gradient/3.