class Pango::Color - pango-3.2.9 Documentation

# class Pango::Color

### Public Class Methods

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

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

Also aliased as: initialize_raw

### Public Instance Methods

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

    # File lib/pango/color.rb, line 27
    def to_a
      [red, green, blue]
    end