code: def transform(self, m):
          
          if len(m) != 6:
              raise ValueError("bad sequ. length")
          self.ul *= m
          self.ur *= m
          self.ll *= m
          self.lr *= m
          return self
docs: Replace quad by its transformation with matrix m.