How to add vertical, horizontal or linear gradient to an XPS file is a question answered by Aspose.Page API solution. Learn the functionality for Java...248), 1f)); 16 // Create new path by defining geometery in abbreviation...abbreviation form 17 XpsPath path = doc. addPath (doc. createPathGeometry...