How to work with visual brush of an XPS file is a question answered by Aspose.Page API solution. See how to use the functionality in Java... createPathGeometry ( "M 0,4 L 4,4 4,0 6,0 6,4 10,4 10...( doc . createPathGeometry ( "M 10,10 L 228,10 228,100 10,100"...