PageAPI.CreatePathFigure
Contents
[
Hide
]CreatePathFigure(PointF, bool)
Creates a new path figure.
public XpsPathFigure CreatePathFigure(PointF startPoint, bool isClosed = false)
Parameter | Type | Description |
---|---|---|
startPoint | PointF | The starting point for the first segment of the path figure. |
isClosed | Boolean | 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. |
Return Value
New path figure.
See Also
- class XpsPathFigure
- class PageAPI
- namespace Aspose.Page.XPS.Features.EventBasedModifications
- assembly Aspose.Page
CreatePathFigure(PointF, List<XpsPathSegment>, bool)
Creates a new path figure.
public XpsPathFigure CreatePathFigure(PointF startPoint, List<XpsPathSegment> segments,
bool isClosed = false)
Parameter | Type | Description |
---|---|---|
startPoint | PointF | The starting point for the first segment of the path figure. |
segments | List`1 | List of path segments. |
isClosed | Boolean | 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. |
Return Value
New path figure.
See Also
- class XpsPathFigure
- class XpsPathSegment
- class PageAPI
- namespace Aspose.Page.XPS.Features.EventBasedModifications
- assembly Aspose.Page