class Cairo::Context - gdk3-2.2.0 Documentation

# class Cairo::Context

### Public Instance Methods

set_source_color(color) click to toggle source

    # File lib/gdk3/base.rb, line 39
    def set_source_color(color)
      if color.is_a?(Gdk::Color)
        set_source_gdk_color(color)
      else
        set_source_not_gdk_color(color)
      end
    end

source_color=(color) click to toggle source

    # File lib/gdk3/base.rb, line 50
    def source_color=(color)
      set_source_color(color)
      color
    end