Rectangle border to class.