About all my projects
Gnome::Gdk4::T-rgba

Gnome::Gdk4::T-rgba

Record N-RGBA

class N-RGBA:auth<github:MARTIMM>:api<2> is export is repr('CStruct') {

  has gfloat $.red;
  has gfloat $.green;
  has gfloat $.blue;
  has gfloat $.alpha;
}
  • red; The intensity of the red channel from 0.0 to 1.0 inclusive

  • green; The intensity of the green channel from 0.0 to 1.0 inclusive

  • blue; The intensity of the blue channel from 0.0 to 1.0 inclusive

  • alpha; The opacity of the color from 0.0 for completely translucent to 1.0 for opaque