clipBehavior property

Clip get clipBehavior

Controls how to clip.

Must not be set to null or Clip.none.

Defaults to Clip.hardEdge.

Implementation

Clip get clipBehavior => _clipBehavior;
set clipBehavior (Clip value)

Implementation

set clipBehavior(Clip value) {
  assert(value != Clip.none);
  if (value != _clipBehavior) {
    _clipBehavior = value;
    markNeedsAddToScene();
  }
}