Class: Turing::Image::WhiteSquaring

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

Overview

WhiteSquaring 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 = {}) ⇒ WhiteSquaring

{{{



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

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