Raxol.Terminal.ANSI.Behaviours.SixelGraphics behaviour (Raxol v2.0.1)
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(pos_integer(), pos_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()