Elixlsx.Style.Border (elixlsx v0.6.0) View Source

Border styling properties.

  • type: atom (:left, :right, :top, :bottom, :diagonal)
  • style: atom (:solid, :dotted, :dashed, :double,
          :dash_dot, :dash_dot_dot, :thin, :medium, :thick)
  • color: (Hex-)String

Link to this section Summary

Link to this section Types

Specs

t() :: %Elixlsx.Style.Border{color: String.t(), style: atom(), type: atom()}

Link to this section Functions

Link to this function

get_border_entry(border)

View Source

Specs

get_border_entry(t()) :: String.t()

Create an entity for border.

Examples

iex> Elixlsx.Style.Border.get_border_entry %Elixlsx.Style.Border{type: :top, style: :dotted} "<top style=\"dotted\"></top>"