Class: Turing::Image::BlackSquaring

Inherits:
Turing::Image show all
Includes:
SquaringHelper
Defined in:
lib/turing/image_plugins/black_squaring.rb

Overview

BlackSquaring Turing test

Blends text, background and makes square pattern over image.

Instance Method Summary collapse

Methods included from SquaringHelper

#generate

Methods inherited from Turing::Image

#generate

Constructor Details

#initialize(opts = {}) ⇒ BlackSquaring

{{{



15
16
17
18
# File 'lib/turing/image_plugins/black_squaring.rb', line 15

def initialize(opts = {})
	super(opts)
	@squaring_color = GD2::Color[0, 0, 0]
end