clipBehavior property

Clip clipBehavior

Controls how to clip.

Must not be set to null or Clip.none.

Defaults to Clip.hardEdge.

Implementation

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

Implementation

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