Aspose::Page::XPS::XpsModel::XpsPath class

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.

class XpsPath : public Aspose::Page::XPS::XpsModel::XpsContentElement

Methods

MethodDescription
Clone()Clones this path.
get_Data()Returns/sets the geometry of the path.
get_Fill()Returns/sets the brush used to paint the geometry specified by the Data property of the path.
get_Stroke()Returns/sets the brush used to draw the stroke.
get_StrokeDashArray() constReturns/sets the array specifying the length of dashes and gaps of the outline stroke.
get_StrokeDashCap() constReturns/sets the value specifying how the ends of each dash are drawn.
get_StrokeDashOffset() constReturns/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.
get_StrokeEndLineCap() constReturns/sets the value defining the shape of the end of the last dash in a stroke.
get_StrokeLineJoin() constReturns/sets the value defining the shape of the beginning of the first dash in a stroke.
get_StrokeMiterLimit() constReturns/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.
get_StrokeStartLineCap() constReturns/sets the value defining the shape of the beginning of the first dash in a stroke.
get_StrokeThickness() constReturns/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.
set_Data(System::SharedPtr<XpsPathGeometry>)Returns/sets the geometry of the path.
set_Fill(System::SharedPtr<XpsBrush>)Returns/sets the brush used to paint the geometry specified by the Data property of the path.
set_Stroke(System::SharedPtr<XpsBrush>)Returns/sets the brush used to draw the stroke.
set_StrokeDashArray(System::ArrayPtr<float>)Returns/sets the array specifying the length of dashes and gaps of the outline stroke.
set_StrokeDashCap(XpsDashCap)Returns/sets the value specifying how the ends of each dash are drawn.
set_StrokeDashOffset(float)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.
set_StrokeEndLineCap(XpsLineCap)Returns/sets the value defining the shape of the end of the last dash in a stroke.
set_StrokeLineJoin(XpsLineJoin)Returns/sets the value defining the shape of the beginning of the first dash in a stroke.
set_StrokeMiterLimit(float)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.
set_StrokeStartLineCap(XpsLineCap)Returns/sets the value defining the shape of the beginning of the first dash in a stroke.
set_StrokeThickness(float)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.

See Also