getComputedStyle('display') === 'none') { return; } $visibility = $this->getComputedStyle('visibility'); if ($visibility === 'hidden' || $visibility === 'collapse') { return; } $rasterizer->render('polygon', array( 'open' => false, 'points' => $this->getPoints(), ), $this); } }