VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Document Namespace / ColorReplaceSphere Class / InterpolationRadius Property
Syntax Exceptions Requirements SeeAlso
In This Topic
InterpolationRadius Property (ColorReplaceSphere)
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

<DescriptionAttribute("A radius, in range from 0 to 1, which specifies when interpolation should be used for color replacement.")>
<DefaultValueAttribute(0,5)>
Public Property InterpolationRadius As Double

[Description("A radius, in range from 0 to 1, which specifies when interpolation should be used for color replacement.")]
[DefaultValue(0,5)]
public double InterpolationRadius { get; set; }

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.
Exceptions
ExceptionDescription
Thrown if value is more than 1.0.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also