CCentroid:GetSample
The GetSample method returns the pixel radius over which the image is sampled for computing centroids.
nX, nY = CCentroid:GetSample()
nX and nY are the sample radius in x and y directions.
Related Topics
CCentroid, SetSample