IDrawingFactory.CreateInterpolationColor

IDrawingFactory.CreateInterpolationColor method

Creates an interpolation color with the specified color and position.

public IInterpolationColor CreateInterpolationColor(Color color, float position)
ParameterTypeDescription
colorColorRepresents the color that will be used at the corresponding position of the gradient.
positionSingleThe position, represented as a percentage from 0 to 1, at which the corresponding gradient color will be used.

Return Value

The created IInterpolationColor.

See Also