convertRadiusToSigma method

double convertRadiusToSigma(
  1. double radius
)

Converts radius number to sigma for drawing shadows

Implementation

double convertRadiusToSigma(double radius) {
  return radius * 0.57735 + 0.5;
}