Plushie.Canvas.Shape.Line (Plushie v0.6.0)

Copy Markdown View Source

Canvas line shape between two points with optional stroke and opacity.

Summary

Types

t()

@type t() :: %Plushie.Canvas.Shape.Line{
  opacity: number() | nil,
  stroke: term(),
  x1: number(),
  x2: number(),
  y1: number(),
  y2: number()
}