View Source Image.Options.Meme (image v0.54.4)
Options and option validation for Image.meme/2
.
Summary
Functions
Validate the options for Image.meme/3
.
Types
@type font_weight() :: :ultralight | :light | :normal | :bold | :ultrabold | :heavy
Valid font weights
@type meme_options() :: [ text: String.t(), font: String.t(), weight: font_weight(), color: Image.Color.t(), outline_color: Image.Color.t(), justify: boolean(), transform: text_transform(), width: pos_integer() ] | map()
Options applicable to Image.meme/3
@type text_transform() :: :capitalize | :upcase | :downcase | :none
Valid type transforms