I have the MDCCard and I want rounded corners only from the right side of this view. So I set masked corners:
backBtnCard.layer.cornerRadius = 18 backBtnC