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);
}
}