I know it's prohibited to use razor to cut the beard, but is it also prohibited to shape the limits of the beard with it? If not, how can one define/line up/shape the beard?
EDIT: When I say shape the beard, I mean to cut hair at the edges of the face, that is, this or this.