class_docstr: Clips visual output to a rectangular region.
code: def __init__(self, bounds=(0, 0, 1, 1), transform=None):
      super(Clipper, self).__init__(
          fcode=self.FRAG_SHADER, fhook="pre", fpos=1
      )
  
      self.bounds = bounds  # (x, y, w, h)
      if transform is None:
          transform = NullTransform()
      self._transform = None
      self.transform = transform
  
file_path: vispy/vispy/visuals/filters/clipper.py
imports: from .base_filter import Filter
  from ..transforms import NullTransform
  from ...geometry import Rect
label_desc: Use image node_id 1 to create a new Clipper object from inherited base classes: Filter with example: obj = Clipper(bounds, transform)