create_gradient_stop method

create_gradient_stop

Creates a new gradient stop.

Returns

New gradient stop.

def create_gradient_stop(self, color, offset):
    ...
ParameterTypeDescription
coloraspose.page.xps.xpsmodel.XpsColorThe gradient stop color.
offsetfloatThe gradient offset.

create_gradient_stop

Creates a new gradient stop.

Returns

New gradient stop.

def create_gradient_stop(self, color, offset):
    ...
ParameterTypeDescription
coloraspose.pydrawing.ColorThe gradient stop color.
offsetfloatThe gradient offset.

See Also