getClip method

  1. @override
Path getClip (Size size)
override

Returns the outer path of shape as the clip.

Implementation

@override
Path getClip(Size size) {
  return shape.getOuterPath(Offset.zero & size, textDirection: textDirection);
}