cubic_bezier_to method

cubic_bezier_to

Adds cubic Bezier curve at the end the path

def cubic_bezier_to(self, point1, point2, point3):
    ...
ParameterTypeDescription
point1aspose.pydrawing.PointFFirst direction point
point2aspose.pydrawing.PointFSecond direction point
point3aspose.pydrawing.PointFEnd point

cubic_bezier_to

Adds cubic Bezier curve to the specified place of the path

def cubic_bezier_to(self, point1, point2, point3, index):
    ...
ParameterTypeDescription
point1aspose.pydrawing.PointFFirst direction point
point2aspose.pydrawing.PointFSecond direction point
point3aspose.pydrawing.PointFEnd point
indexintIndex of segment in PathData

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentOutOfRangeException))Segment index is out of PathData range

cubic_bezier_to

Adds cubic Bezier curve at the end the path

def cubic_bezier_to(self, x1, y1, x2, y2, x3, y3):
    ...
ParameterTypeDescription
x1floatX coordinate of first direction point
y1floatY coordinate of first direction point
x2floatX coordinate of second direction point
y2floatY coordinate of second direction point
x3floatX coordinate of end point
y3floatY coordinate of end point

cubic_bezier_to

Adds cubic Bezier curve to the specified place of the path

def cubic_bezier_to(self, x1, y1, x2, y2, x3, y3, index):
    ...
ParameterTypeDescription
x1floatX coordinate of first direction point
y1floatY coordinate of first direction point
x2floatX coordinate of second direction point
y2floatY coordinate of second direction point
x3floatX coordinate of end point
y3floatY coordinate of end point
indexintIndex of segment in PathData

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentOutOfRangeException))Segment index is out of PathData range

See Also