create_interpolation_color method

create_interpolation_color

Creates an interpolation color with the specified color and position.

Returns

The created IInterpolationColor.

def create_interpolation_color(self, color, position):
    ...
ParameterTypeDescription
coloraspose.pydrawing.ColorRepresents the color that will be used at the corresponding position of the gradient.
positionfloatThe position, represented as a percentage from 0 to 1, at which the corresponding gradient color will be used.

See Also