Class CAPTCHA::Rectangle
In: lib/captcha.rb
Parent: Object

A simple rectangle class, to make the bounds returned by the GD::Image#stringFT method more readable.

Methods

from_array   new  

Attributes

height  [RW] 
width  [RW] 
x  [RW] 
y  [RW] 

Public Class methods

This accepts an array of integers, as returned by the GD::Image#stringFT method.

[Validate]