VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing.Web.Services Namespace / WebColorReplaceSphere Class / interpolationRadius Property
Syntax Requirements SeeAlso
In This Topic
    interpolationRadius Property (WebColorReplaceSphere)
    In This Topic
    Gets or sets a radius, in range from 0 to 1, which specifies when interpolation should be used for color replacement.
    Syntax
    'Declaration
    
    Public Property interpolationRadius As Double
    
    
    public double interpolationRadius { get; set; }
    
    
    public: __property double get_interpolationRadius();
    public: __property void set_interpolationRadius(
    double value
    );
    public:
    property double interpolationRadius { double get(); void set(double value); }

    Property Value

    Possible values are from 0 to 1:
    • 0.0 - any color from color sphere will be replaced by newColor.
    • 0.6 - color of sphere center and colors located from the sphere center at a distance (0.4*radius) will be replaced by newColor, all other colors from color sphere will be interpolated.
    • 1.0 - color of sphere center will be replaced by newColor, all other colors from color sphere will be interpolated.
    Default value is 0.5.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also