Adding gradient in PS file is a functionality supported by Aspose.Page API solution. See how to use the functionality in Java...height, offsetX, offsetY); 27 //Rotate the gradient on 90 degrees...around an origin 28 transform. rotate (Math. toRadians (90)); 29...