As nouns,
two-dimensional figure is a hypernym of
polygonal shape; that is, two-dimensional figure is a
word with a broader meaning than polygonal shape:
polygonal shape: a closed plane figure bounded by straight sides
two-dimensional figure: a two-dimensional shape
Other hypernyms of polygonal shape include
plane figure.