polygon tests for shape-outside