class Gdk::RGBA - gdk3-2.2.5 Documentation

# class Gdk::RGBA

### Public Class Methods

new(red, green, blue, alpha) click to toggle source

    # File lib/gdk3/rgba.rb, line 20
    def initialize(red, green, blue, alpha)
      initialize_raw
      self.red = red
      self.green = green
      self.blue = blue
      self.alpha = alpha
    end

Also aliased as: initialize_raw

### Public Instance Methods

initialize_raw(red, green, blue, alpha)
Alias for: new
to_a() click to toggle source

    # File lib/gdk3/rgba.rb, line 28
    def to_a
      [red, green, blue, alpha]
    end