# File lib/gd2/canvas.rb, line 246
    def style=(ary)
      if @style = ary
        SYM[:gdImageSetStyle].call(@image.image_ptr,
          ary.map { |c|
            !c ? TRANSPARENT : true == c ? -1 : @image.color2pixel(c)
          }, ary.length)
      end
    end