getClip method
Returns a description of the clip given that the render object being clipped is of the given size.
Implementation
@override
Path getClip(Size size) {
switch (edge) {
case VxEdge.top:
return _getTopPath(size);
case VxEdge.right:
return _getRightPath(size);
case VxEdge.bottom:
return _getBottomPath(size);
case VxEdge.left:
return _getLeftPath(size);
default:
return _getRightPath(size);
}
}