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

Copy Markdown View Source

Canvas raster image shape with position, size, and optional rotation.

Summary

Types

t()

@type t() :: %Plushie.Canvas.Shape.CanvasImage{
  h: number(),
  opacity: number() | nil,
  rotation: number() | nil,
  source: String.t(),
  w: number(),
  x: number(),
  y: number()
}