---
title: "com.aspose.xps"
url: "https://reference.aspose.com/page/java/com.aspose.xps/"
product: "Aspose.Page for Java API Reference"
description: "The com.aspose.xps is a root package for all classes that deal with XPS document."
---


The **com.aspose.xps** is a root package for all classes that deal with XPS document.


## Classes

| Class | Description |
| --- | --- |
| [DocumentUtils](../com.aspose.xps/documentutils) | This class provides utilities beyond the formal XPS manipulation API. |
| [LoadOptions](../com.aspose.xps/loadoptions) | Basic class for document loading options. |
| [Size2D](../com.aspose.xps/size2d) | The `Size2D` class describes dimensions  (w x h) . |
| [Size2D.Float](../com.aspose.xps/size2d.float) | The `Float` class defines dimensions specified in float coordinates. |
| [XpsArcSegment](../com.aspose.xps/xpsarcsegment) | Class incapsulating ArcSegment element features. |
| [XpsArray<T>](../com.aspose.xps/xpsarray) | Class incapsulating common XPS model array object features. |
| [XpsBrush](../com.aspose.xps/xpsbrush) | Class incapsulating common features of all brush elements. |
| [XpsCanvas](../com.aspose.xps/xpscanvas) | Class incapsulating Canvas element features. |
| [XpsColor](../com.aspose.xps/xpscolor) | The base class incapsulating common color features. |
| [XpsContentElement](../com.aspose.xps/xpscontentelement) | Incapsulates features of XPS content elements: Canvas, Path and Glyphs. |
| [XpsDocument](../com.aspose.xps/xpsdocument) | Class incapsulating the main entity of XPS document that provides manipulation methods for any XPS element. |
| [XpsElement](../com.aspose.xps/xpselement) | Class incapsulating common XPS element features. |
| [XpsElementLinkTarget](../com.aspose.xps/xpselementlinktarget) | Class incapsulating the relative named-address hyperlink target. |
| [XpsExternalLinkTarget](../com.aspose.xps/xpsexternallinktarget) | Class incapsulating the external hyperlink target. |
| [XpsFileResource](../com.aspose.xps/xpsfileresource) | Class incapsulating common features of all file resources. |
| [XpsFont](../com.aspose.xps/xpsfont) | Class incapsulating a TrueType font resource. |
| [XpsGlyphs](../com.aspose.xps/xpsglyphs) | Class incapsulating Glyphs element features. |
| [XpsGradientBrush](../com.aspose.xps/xpsgradientbrush) | Class incapsulating common features of LinerGradientBrush and RadialGradientBrush elements. |
| [XpsGradientStop](../com.aspose.xps/xpsgradientstop) | Class incapsulating GradientStop element features. |
| [XpsHyperlinkElement](../com.aspose.xps/xpshyperlinkelement) | Incapsulates common features of XPS elements that can be a hyperlink. |
| [XpsHyperlinkTarget](../com.aspose.xps/xpshyperlinktarget) | Base class for a hyperlink target. |
| [XpsIccBasedColor](../com.aspose.xps/xpsiccbasedcolor) | Incapsulates ICC based color. |
| [XpsIccProfile](../com.aspose.xps/xpsiccprofile) | Class incapsulating an ICC profile resource. |
| [XpsImage](../com.aspose.xps/xpsimage) | Class incapsulating an image resource. |
| [XpsImageBrush](../com.aspose.xps/xpsimagebrush) | Class incapsulating ImageBrush property element features. |
| [XpsLinearGradientBrush](../com.aspose.xps/xpslineargradientbrush) | Class incapsulating LinearGradientBrush property element features. |
| [XpsLoadOptions](../com.aspose.xps/xpsloadoptions) | XPS document loading options. |
| [XpsMatrix](../com.aspose.xps/xpsmatrix) | Class incapsulating MatrixTransform property element features. |
| [XpsObject](../com.aspose.xps/xpsobject) | Class incapsulating common XPS model object features. |
| [XpsPage](../com.aspose.xps/xpspage) | Class incapsulating FixedPage element features. |
| [XpsPageLinkTarget](../com.aspose.xps/xpspagelinktarget) | Class incapsulating the page hyperlink target. |
| [XpsPath](../com.aspose.xps/xpspath) | Class incapsulating Path element features. |
| [XpsPathFigure](../com.aspose.xps/xpspathfigure) | Class incapsulating PathFigure element features. |
| [XpsPathGeometry](../com.aspose.xps/xpspathgeometry) | Class incapsulating PathGeometry property element features. |
| [XpsPathPolySegment](../com.aspose.xps/xpspathpolysegment) | Class incapsulating common features of PolyLineSegment, PolyB?zierSegment and PolyQuadraticB?zierSegment elements. |
| [XpsPathSegment](../com.aspose.xps/xpspathsegment) | Class incapsulating common features of all path segment elements. |
| [XpsPolyBezierSegment](../com.aspose.xps/xpspolybeziersegment) | Class incapsulating PolyBezierSegment element features. |
| [XpsPolyLineSegment](../com.aspose.xps/xpspolylinesegment) | Class incapsulating PolyLineSegment element features. |
| [XpsPolyQuadraticBezierSegment](../com.aspose.xps/xpspolyquadraticbeziersegment) | Class incapsulating PolyQuadraticBezierSegment element features. |
| [XpsRadialGradientBrush](../com.aspose.xps/xpsradialgradientbrush) | Class incapsulating RadialGradientBrush property element features. |
| [XpsRgbColor](../com.aspose.xps/xpsrgbcolor) | Incapsulates RGB color of any color space (sRGB or scRGB). |
| [XpsSolidColorBrush](../com.aspose.xps/xpssolidcolorbrush) | Class incapsulating SolidColorBrush property element features. |
| [XpsTilingBrush](../com.aspose.xps/xpstilingbrush) | Class incapsulating common features of tiling brushes elements (VisualBrush and ImageBrush). |
| [XpsTransformableBrush](../com.aspose.xps/xpstransformablebrush) | Class incapsulating common features of transformable brushes elements (all except SolidColorBrush). |
| [XpsVisual](../com.aspose.xps/xpsvisual) | Class incapsulating Visual element features. |
| [XpsVisualBrush](../com.aspose.xps/xpsvisualbrush) | Class incapsulating VisualBrush property element features. |

## Enumerations

| Enum | Description |
| --- | --- |
| [ImageMode](../com.aspose.xps/imagemode) | Lists options of fitting image within a box. |
| [XpsColorInterpolationMode](../com.aspose.xps/xpscolorinterpolationmode) | Valid values of gradient brushes' ColorInterpolationMode property. |
| [XpsDashCap](../com.aspose.xps/xpsdashcap) | Valid values of Path element's StrokeDashCap property. |
| [XpsEdgeMode](../com.aspose.xps/xpsedgemode) | Valid values of Canvas element's RenderOptions.EdgeMode property. |
| [XpsFillRule](../com.aspose.xps/xpsfillrule) | Valid values of PathGeometry element's FillRule property. |
| [XpsFontStyle](../com.aspose.xps/xpsfontstyle) | Valid values for font styles. |
| [XpsLineCap](../com.aspose.xps/xpslinecap) | Valid values of Path element's StrokeStartLineCap and StrokeEndLineCap properties. |
| [XpsLineJoin](../com.aspose.xps/xpslinejoin) | Valid values of Path element's StrokeLineJoin property. |
| [XpsSpreadMethod](../com.aspose.xps/xpsspreadmethod) | Valid values of gradient brushes' SpreadMethod property. |
| [XpsStyleSimulations](../com.aspose.xps/xpsstylesimulations) | Valid values of Glyphs element's StyleSimulations property. |
| [XpsSweepDirection](../com.aspose.xps/xpssweepdirection) | Valid values of ArcSegment element's SweepDirection property. |
| [XpsTileMode](../com.aspose.xps/xpstilemode) | Valid values of tiling brushes' TileMode property. |
