add polygon shape window support