Aspose::Page::XPS::XpsModel::XpsPath class
Contents
[
Hide
]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
Method | Description |
---|---|
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() const | Returns/sets the array specifying the length of dashes and gaps of the outline stroke. |
get_StrokeDashCap() const | Returns/sets the value specifying how the ends of each dash are drawn. |
get_StrokeDashOffset() const | 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. |
get_StrokeEndLineCap() const | Returns/sets the value defining the shape of the end of the last dash in a stroke. |
get_StrokeLineJoin() const | Returns/sets the value defining the shape of the beginning of the first dash in a stroke. |
get_StrokeMiterLimit() const | 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. |
get_StrokeStartLineCap() const | Returns/sets the value defining the shape of the beginning of the first dash in a stroke. |
get_StrokeThickness() const | 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. |
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
- Class XpsContentElement
- Namespace Aspose::Page::XPS::XpsModel
- Library Aspose.Page for C++