Sha256: 49a9f3af036fc42c89b01c267226448fc5edeb52ea3507e061b6bafcd26d6e2c
Contents?: true
Size: 195 Bytes
Versions: 136
Compression:
Stored size: 195 Bytes
Contents
require 'cairo/color' module Cairo class Context module Color def set_source_color(color) set_source_rgba(*Cairo::Color.parse(color).to_rgb.to_a) end end end end
Version data entries
136 entries across 128 versions & 2 rubygems