create_path_figure method

create_path_figure

Creates a new path figure.

Returns

New path figure.

def create_path_figure(self, start_point, is_closed):
    ...
ParameterTypeDescription
start_pointaspose.pydrawing.PointFThe starting point for the first segment of the path figure.
is_closedboolSpecifies 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.

create_path_figure {#aspose.pydrawing.PointF-System.Collections.Generic.List<Aspose.Page.XPS.XpsModel.XpsPathSegment>-bool}

def create_path_figure(self, start_point, segments, is_closed):
    ...
ParameterTypeDescription
start_pointaspose.pydrawing.PointF
segmentsSystem.Collections.Generic.List<Aspose.Page.XPS.XpsModel.XpsPathSegment>
is_closedbool

See Also