The docs seem to indicate it's valid for gradient patterns too, at least.