- orientation
- The desired orientation (angle) of the gradient
Changes the orientation of the gradient defined in this drawable.
Note: changing orientation will affect all instances of a drawable loaded from a resource. It is recommended to invoke GradientDrawable.mutate() before changing the orientation.