Aspose::Page::XPS::XpsDocument::CreatePathFigure method
Contents
[
Hide
]XpsDocument::CreatePathFigure(System::Drawing::PointF, bool) method
Creates a new path figure.
System::SharedPtr<XpsModel::XpsPathFigure> Aspose::Page::XPS::XpsDocument::CreatePathFigure(System::Drawing::PointF startPoint, bool isClosed=false)
Parameter | Type | Description |
---|---|---|
startPoint | System::Drawing::PointF | The starting point for the first segment of the path figure. |
isClosed | bool | Specifies whether the path is closed. If set to true, the stroke is drawn “closed”, that is, the last point in the last segment of the path figure is connected with the point specified in the StartPoint attribute, otherwise the stroke is drawn “open”, and the last point is not connected to the start point. Only applicable if the path figure is used in a Path element that specifies a stroke. |
ReturnValue
New path figure.
See Also
- Typedef SharedPtr
- Class XpsPathFigure
- Class PointF
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreatePathFigure(System::Drawing::PointF, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>>, bool) method
Creates a new path figure.
System::SharedPtr<XpsModel::XpsPathFigure> Aspose::Page::XPS::XpsDocument::CreatePathFigure(System::Drawing::PointF startPoint, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>> segments, bool isClosed=false)
Parameter | Type | Description |
---|---|---|
startPoint | System::Drawing::PointF | The starting point for the first segment of the path figure. |
segments | System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>> | List of path segments. |
isClosed | bool | Specifies whether the path is closed. If set to true, the stroke is drawn “closed”, that is, the last point in the last segment of the path figure is connected with the point specified in the StartPoint attribute, otherwise the stroke is drawn “open”, and the last point is not connected to the start point. Only applicable if the path figure is used in a Path element that specifies a stroke. |
ReturnValue
New path figure.
See Also
- Typedef SharedPtr
- Class XpsPathFigure
- Class PointF
- Class List
- Class XpsPathSegment
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++