ClipPathHelpers extension

Extension for common clip path operations.

on

Static Methods

inset(Size size, EdgeInsets insets) Path

Available on Path, provided by the ClipPathHelpers extension

Creates an inset clip path.
roundedRect(Rect rect, {double radius = 0, double? topLeft, double? topRight, double? bottomLeft, double? bottomRight}) Path

Available on Path, provided by the ClipPathHelpers extension

Creates a rounded rectangle clip path.