Raxol.Terminal.ANSI.SixelGraphics.Behaviour behaviour (Raxol v0.5.0)
View SourceBehaviour for Sixel graphics support.
Summary
Types
@type t() :: %{ width: non_neg_integer(), height: non_neg_integer(), data: binary(), palette: map(), scale: {non_neg_integer(), non_neg_integer()}, position: {non_neg_integer(), non_neg_integer()} }
Callbacks
@callback get_position(t()) :: {non_neg_integer(), non_neg_integer()}
@callback get_scale(t()) :: {non_neg_integer(), non_neg_integer()}
@callback new() :: t()
@callback new(non_neg_integer(), non_neg_integer()) :: t()
@callback set_position(t(), non_neg_integer(), non_neg_integer()) :: t()
@callback set_scale(t(), non_neg_integer(), non_neg_integer()) :: t()
@callback supported?() :: boolean()