Fixed floatrects & added a method to get an array from an enum