Class XpsPath

XpsPath class

Class incapsulating Path element features. This element is the sole means of adding vector graphics and images to a fixed page. It defines a single vector graphic to be rendered on a page.

public sealed class XpsPath : XpsContentElement

Properties

NameDescription
Clip { get; set; }Returns/sets the path geometry instance limiting the rendered region of the element.
Count { get; }Returns number of child elements.
Data { get; set; }Returns/sets the geometry of the path.
Fill { get; set; }Returns/sets the brush used to paint the geometry specified by the Data property of the path.
HyperlinkTarget { get; set; }Returns/sets hyperlink target object.
Item { get; }Provides access to element’s children by index i.
Opacity { get; set; }Returns/sets the value defining the uniform transparency of the element.
OpacityMask { get; set; }Returns/sets the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.
RenderTransform { get; set; }Returns/sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).
Stroke { get; set; }Returns/sets the brush used to draw the stroke.
StrokeDashArray { get; set; }Returns/sets the array specifying the length of dashes and gaps of the outline stroke.
StrokeDashCap { get; set; }Returns/sets the value specifying how the ends of each dash are drawn.
StrokeDashOffset { get; set; }Returns/sets the start point for repeating the dash array pattern. If this value is omitted, the dash array aligns with the origin of the stroke.
StrokeEndLineCap { get; set; }Returns/sets the value defining the shape of the end of the last dash in a stroke.
StrokeLineJoin { get; set; }Returns/sets the value defining the shape of the beginning of the first dash in a stroke.
StrokeMiterLimit { get; set; }Returns/sets the ratio between the maximum miter length and half of the stroke thickness. This value is significant only if the StrokeLineJoin attribute specifies Miter.
StrokeStartLineCap { get; set; }Returns/sets the value defining the shape of the beginning of the first dash in a stroke.
StrokeThickness { get; set; }Returns/sets the thickness of a stroke, in units of the effective coordinate space (includes the path’s render transform). The stroke is drawn on top of the boundary of the geometry specified by the Path element’s Data property. Half of the StrokeThickness extends outside of the geometry specified by the Data property and the other half extends inside of the geometry.

Methods

NameDescription
Clone()Clones this path.
GetEnumerator()Implementation of IEnumerable interface.

See Also