A Boolean value indicating whether AppKit’s default clipping behavior is in effect.
- macOS 10.3+
YES if the default clipping is in effect,
NO otherwise. By default, this method returns
The default value of this property is
YES. When the value of this property is
YES, AppKit sets the current clipping region to the bounds of the view prior to calling that view’s
draw method. Subclasses may override this property and return
NO to suppress this default clipping behavior. You might do this to avoid the cost of setting up, enforcing, and cleaning up the clipping path. If you do change the value to
NO, you are responsible for doing your own clipping or constraining drawing appropriately. Failure to do so could the view to corrupt the contents of other views in the window.