Skia.Shader.LinearGradient (Skia v0.1.1)

Copy Markdown View Source

Linear gradient paint source.

Summary

Types

t()

@type t() :: %Skia.Shader.LinearGradient{
  colors: [term()],
  from: {float(), float()},
  matrix: tuple() | nil,
  tile_mode: atom(),
  to: {float(), float()}
}