What does ‘Stitched up’ mean?

Stitched up – is when someone has taken advantage of you. For example, when a classmate nominates you to lead a presentation you can certainly claim to “have been stitched up.”