Using TImage32
About the documentation
Appearance
Custom procedural distance metric function delegate when Metric = vmCustom.
property MetricFunc: TVoronoiMetricFunc read FMetricFunc write SetMetricFunc;
Procedural delegate (TVoronoiMetricFunc) evaluated to compute distance between sampling coordinate (X,Y) and site point Pi when Metric = vmCustom.
TVoronoiMetricFunc
Metric = vmCustom