add classes for a deformable polygone.