View Source AvatarexSet (Avatarex v0.1.0)
This module provides functions for creating an AvatarexSet
Link to this section Summary
Functions
Generates all functions for generating AvatarexSet
s and associated renders
Link to this section Functions
Generates all functions for generating AvatarexSet
s and associated renders
Required opts:
dir: "/path/to/my_set"
keys: [:field1, :field2, :field3]
dir
corresponding to folders ex: "/path/to/my_set/field1"
keys
correspond to folders under the provided dir
, ex: "/path/to/my_set/field1"
keys
ordering will correspond to the order in images will be layered. [:base_layer, :next_layer, ...]
examples
Examples
iex> use Elixir.AvatarexSet, dir: "/path/to/my_set", keys: [:field1, :field2, :field3]