def METHOD_NAME(self, transformed=True, with_stroke=False):
    if not self.effect:
        return None
    geometry = self.as_geometry()
    if transformed:
        bounds = geometry.METHOD_NAME(mx=self.matrix)
    else:
        bounds = geometry.METHOD_NAME()
    xmin, ymin, xmax, ymax = bounds
    if with_stroke:
        delta = float(self.implied_stroke_width) / 2.0
        return (
            xmin - delta,
            ymin - delta,
            xmax + delta,
            ymax + delta,
        )
    return xmin, ymin, xmax, ymax