angle2Orientation

Convert angle to GradientDrawable.Orientation.

Since

0.5.3

Parameters

angle

Must be an integer multiple of 45. Orientation.LEFT_RIGHT otherwise.