def color.alpha.only

gralha-svg-render@0.1.0.1 · svg.bend:4430

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
import gralha-image@0.1.0.1/image.bend as Img

4430def color.alpha.only(c: Img.Color) -> Img.Color:
4431  Img.Color{r, g, b, a} = c
4432  Img.Color{0.0, 0.0, 0.0, a}

Uses (1)

Used by (2)