-record(rect, {x :: float(), y :: float(), width :: float(), height :: float()}).