added getter and setter declarations to LGRect header