ClipRSuperellipseLayer constructor
- RSuperellipse? clipRSuperellipse,
- Clip clipBehavior = Clip.antiAlias,
Creates a layer with a rounded-rectangular clip.
The clipRSuperellipse and clipBehavior properties must be non-null before the
compositing phase of the pipeline.
Implementation
ClipRSuperellipseLayer({this._clipRSuperellipse, Clip clipBehavior = Clip.antiAlias})
: _clipBehavior = clipBehavior,
assert(clipBehavior != Clip.none);