Apply shape transform to styled fill and border