clipPath property

Path? get clipPath

The path to clip in the parent's coordinate system.

The scene must be explicitly recomposited after this property is changed (as described at Layer).

Implementation

Path? get clipPath => _clipPath;
set clipPath (Path? value)

Implementation

set clipPath(Path? value) {
  if (value != _clipPath) {
    _clipPath = value;
    markNeedsAddToScene();
  }
}