def compose(self, *args, **kwargs):
        """
        Compose layer and masks (mask, vector mask, and clipping layers).

        :return: :py:class:`PIL.Image`, or `None` if the layer has no pixel.
        """
        from psd_tools.api.composer import compose_layer
        if self.bbox == (0, 0, 0, 0):
            return None
        return compose_layer(self, *args, **kwargs)