View Source Image.Options.Avatar (image v0.54.4)
Options and option validation for Image.avatar/2
.
Summary
Types
@type avatar_option() :: {:size, pos_integer()} | {:shape, :circle | :square | :squircle} | {:crop, Image.Options.Crop.crop_focus()}
@type avatar_options() :: [avatar_option()]