Skip to end of metadata
Go to start of metadata
Contents Summary
  

Add Horizontal Gradient

Aspose.XPS for Java offers XpsGradientBrush Class, with which you can add gradient on XPS document. You need to specify XpsGradientStop and add XpsPath to the object of XpsDocument class. Following code snippet shows complete functionality to add horizontal gradient on an XPS document:

 

Add Vertical Gradient

Aspose.XPS for Java offers XpsGradientBrush Class, with which you can add gradient on XPS document. You need to specify XpsGradientStop and add XpsPath to the object of XpsDocument class. Following code snippet shows complete functionality to add vertical gradient on an XPS document:

Add Linear Gradient

Aspose.XPS for Java offers XpsGradientBrush Class, with which you can add gradient on XPS document. You need to specify XpsGradientStop and add XpsPath to the object of XpsDocument class. Following code snippet shows complete functionality to add linear gradient on an XPS document:

Labels
  • No labels